class SourceType
static fun detectTypeFast(uri: Uri): SourceType
Detecting the Type by file extension. |
|
static fun detectTypeSafe(uri: Uri): SourceType
Detecting the Type by content, this can take some time, you need to call this in a background thread. |