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

RPickMedia

class RPickMedia

Types

ResultFragment

class ResultFragment : Fragment

Functions

pickFromCamera

fun pickFromCamera(context: Context, callback: (Int, String) -> Unit): Unit
fun pickFromCamera(context: Context, callback: F2<Int, String>?): Unit

pick image from Camera

pickFromGallery

fun pickFromGallery(context: Context, callback: (Int, String) -> Unit): Unit
fun pickFromGallery(context: Context, callback: F2<Int, String>?): Unit

pick image from Gallery

pickFromVideo

fun pickFromVideo(context: Context, callback: (Int, String) -> Unit): Unit
fun pickFromVideo(context: Context, callback: F2<Int, String>?): Unit

pick image from Video

pickFromVideoCamera

fun pickFromVideoCamera(context: Context, callback: (Int, String) -> Unit): Unit
fun pickFromVideoCamera(context: Context, callback: F2<Int, String>?): Unit

pick image from Camera (Video Mode)

setInternalStorage

fun setInternalStorage(isInternal: Boolean): Unit

enable internal storage mode

Companion Object Properties

PICK_FAILED

val PICK_FAILED: Int

PICK_FROM_CAMERA

val PICK_FROM_CAMERA: Int

PICK_FROM_CAMERA_VIDEO

val PICK_FROM_CAMERA_VIDEO: Int

PICK_FROM_GALLERY

val PICK_FROM_GALLERY: Int

PICK_FROM_VIDEO

val PICK_FROM_VIDEO: Int

PICK_SUCCESS

val PICK_SUCCESS: Int

instance

var instance: RPickMedia