RichUtils / pyxis.uzuki.live.richutilskt.utils / createUri

createUri

fun createUri(context: Context, videoUri: Boolean = false, internalStorage: Boolean = false): Uri

create empty Uri in MediaStore

Parameters

context - Context object

videoUri - flag on kind of class. true - MediaStore.Video false - MediaStore.Images

internalStorage - flag on saved at internal storage

fun createUri(context: Context, uri: Uri): Uri

create empty Uri in MediaStore

Parameters

context - Context object

uri - MediaStore Uri