ly.img.android / SourceType / detectTypeSafe

detectTypeSafe

@WorkerThread 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.