#include <AndroidStorageProvider.h>
|
static bool | GetExternalStorage (std::string &path, const std::string &type="") |
| If external storage is available, it returns the path for the external storage (for the specified type)
|
|
static std::unique_ptr< IStorageProvider > | CreateInstance () |
| Called by media manager to create platform storage provider.
|
|
◆ CAndroidStorageProvider()
CAndroidStorageProvider::CAndroidStorageProvider |
( |
| ) |
|
◆ ~CAndroidStorageProvider()
CAndroidStorageProvider::~CAndroidStorageProvider |
( |
| ) |
|
|
overridedefault |
◆ Eject()
bool CAndroidStorageProvider::Eject |
( |
const std::string & | mountpath | ) |
|
|
inlineoverridevirtual |
◆ GetDiskUsage()
std::vector< std::string > CAndroidStorageProvider::GetDiskUsage |
( |
void | | ) |
|
|
overridevirtual |
◆ GetExternalStorage()
bool CAndroidStorageProvider::GetExternalStorage |
( |
std::string & | path, |
|
|
const std::string & | type = "" ) |
|
static |
If external storage is available, it returns the path for the external storage (for the specified type)
- Parameters
-
path | will contain the path of the external storage (for the specified type) |
type | optional type. Possible values are "", "files", "music", "videos", "pictures", "photos, "downloads" |
- Returns
- true if external storage is available and a valid path has been stored in the path parameter
◆ GetLocalDrives()
void CAndroidStorageProvider::GetLocalDrives |
( |
VECSOURCES & | localDrives | ) |
|
|
overridevirtual |
◆ GetRemovableDrives()
void CAndroidStorageProvider::GetRemovableDrives |
( |
VECSOURCES & | removableDrives | ) |
|
|
overridevirtual |
◆ Initialize()
void CAndroidStorageProvider::Initialize |
( |
| ) |
|
|
inlineoverridevirtual |
◆ PumpDriveChangeEvents()
◆ Stop()
void CAndroidStorageProvider::Stop |
( |
| ) |
|
|
inlineoverridevirtual |
The documentation for this class was generated from the following files: