![]() The average bitrate (in bits/sec) of the selected video, if available. Except when picking video from Android gallery where you will get read only content uri, to get file uri in this case copy the file to app specific storage using any react-native library. The file uri in app specific cache storage. The base64 string of the image (photos only) Default is 'auto'.ĭescription of the error, use it for debug purpose onlyĪrray of the selected media, refer to Asset Object Possible values: 'auto', 'current', 'compatible'. Default is currentContext.Ĭonverts the selected video to MP4 (iOS Only).Ī mode that determines which representation to use if an asset contains more than one. currentContext, pageSheet, fullScreen, formSheet, popover, overFullScreen, overCurrentContext. Default is 1.Ĭontrols how the picker is presented. Use 0 to allow any number of files on iOS version >= 14 & Android version >= 13. (Boolean) Only for launchCamera, saves the image/video file captured to public photo. ![]() ![]() If true, will include extra data which requires library permissions to be requested (i.e. If true, creates base64 string of the image (Avoid using on large image files due to performance). 'back' or 'front' (May not be supported in few android devices). Low, medium, or high on iOS, low or high on Android. Photo or video or mixed( launchCamera on Android does not support 'mixed'). ![]() The callback will be called with a response object, refer to The Response Object. See Options for further information on options. LaunchImageLibrary ( options?, callback ) // You can also use as a promise without 'callback': const result = await launchImageLibrary ( options? ) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |