언어 설정

Menu
Sites
Language
Filesystem API : detailed info about storages

Hi all
I use Filesystem API and I able to add listener addStorageStateChangeListener.
In callback method onStorageStateChanged comes FileSystemStorage object with 3 fileds: label, type and state.
1)type: contains EXTERNAL or INTERNAL values.
2)label: contains values like internal0, removable1 .

Could I get more detailed info about storages (is it microSD card or USB host)?
Is it somewhere list of all possibly internal/external devices and labels on which they are mapped?
Alexey.

Responses

2 댓글
Raghu Kona

Hi Alex,

You can use the System Information API to get the information regarding storage devices.

Please refer https://developer.tizen.org/help/index.jsp?topic=%2Forg.tizen.web.device.apireference%2Ftizen%2Fsysteminfo.html.

SystemInfoStorage provides the number of storage units connected and SystemInfoStorageUnit provides the details of the corresponding storage unit.

Regards,

Raghu Kona

Alex Dem

Thank you!

Alexey