jni-android-sys 0.0.10

Autogenerated glue code for access Android JVM APIs from Rust
// WARNING:  This file was autogenerated by jni-bindgen.  Any changes to this file may be lost!!!


#[cfg(any(feature = "all", feature = "android-provider-MediaStore"))]
__jni_bindgen! {
    /// public final class [MediaStore](https://developer.android.com/reference/android/provider/MediaStore.html)
    ///
    /// Required feature: "android-provider-MediaStore"
    public final class MediaStore ("android/provider/MediaStore") extends crate::java::lang::Object {

        /// [MediaStore](https://developer.android.com/reference/android/provider/MediaStore.html#MediaStore())
        pub fn new<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::android::provider::MediaStore>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/provider/MediaStore", java.flags == PUBLIC, .name == "<init>", .descriptor == "()V"
            unsafe {
                let __jni_args = [];
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/provider/MediaStore\0", "<init>\0", "()V\0");
                __jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getMediaScannerUri](https://developer.android.com/reference/android/provider/MediaStore.html#getMediaScannerUri())
        ///
        /// Required features: "android-net-Uri"
        #[cfg(any(feature = "all", all(feature = "android-net-Uri")))]
        pub fn getMediaScannerUri<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::net::Uri>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/provider/MediaStore", java.flags == PUBLIC | STATIC, .name == "getMediaScannerUri", .descriptor == "()Landroid/net/Uri;"
            unsafe {
                let __jni_args = [];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/provider/MediaStore\0", "getMediaScannerUri\0", "()Landroid/net/Uri;\0");
                __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// public static final [AUTHORITY](https://developer.android.com/reference/android/provider/MediaStore.html#AUTHORITY)
        pub const AUTHORITY : &'static str = "media";

        /// public static final [INTENT_ACTION_MUSIC_PLAYER](https://developer.android.com/reference/android/provider/MediaStore.html#INTENT_ACTION_MUSIC_PLAYER)
        pub const INTENT_ACTION_MUSIC_PLAYER : &'static str = "android.intent.action.MUSIC_PLAYER";

        /// public static final [INTENT_ACTION_MEDIA_SEARCH](https://developer.android.com/reference/android/provider/MediaStore.html#INTENT_ACTION_MEDIA_SEARCH)
        pub const INTENT_ACTION_MEDIA_SEARCH : &'static str = "android.intent.action.MEDIA_SEARCH";

        /// public static final [EXTRA_MEDIA_ARTIST](https://developer.android.com/reference/android/provider/MediaStore.html#EXTRA_MEDIA_ARTIST)
        pub const EXTRA_MEDIA_ARTIST : &'static str = "android.intent.extra.artist";

        /// public static final [EXTRA_MEDIA_ALBUM](https://developer.android.com/reference/android/provider/MediaStore.html#EXTRA_MEDIA_ALBUM)
        pub const EXTRA_MEDIA_ALBUM : &'static str = "android.intent.extra.album";

        /// public static final [EXTRA_MEDIA_TITLE](https://developer.android.com/reference/android/provider/MediaStore.html#EXTRA_MEDIA_TITLE)
        pub const EXTRA_MEDIA_TITLE : &'static str = "android.intent.extra.title";

        /// public static final [EXTRA_MEDIA_FOCUS](https://developer.android.com/reference/android/provider/MediaStore.html#EXTRA_MEDIA_FOCUS)
        pub const EXTRA_MEDIA_FOCUS : &'static str = "android.intent.extra.focus";

        /// public static final [EXTRA_SCREEN_ORIENTATION](https://developer.android.com/reference/android/provider/MediaStore.html#EXTRA_SCREEN_ORIENTATION)
        pub const EXTRA_SCREEN_ORIENTATION : &'static str = "android.intent.extra.screenOrientation";

        /// public static final [EXTRA_FULL_SCREEN](https://developer.android.com/reference/android/provider/MediaStore.html#EXTRA_FULL_SCREEN)
        pub const EXTRA_FULL_SCREEN : &'static str = "android.intent.extra.fullScreen";

        /// public static final [EXTRA_SHOW_ACTION_ICONS](https://developer.android.com/reference/android/provider/MediaStore.html#EXTRA_SHOW_ACTION_ICONS)
        pub const EXTRA_SHOW_ACTION_ICONS : &'static str = "android.intent.extra.showActionIcons";

        /// public static final [EXTRA_FINISH_ON_COMPLETION](https://developer.android.com/reference/android/provider/MediaStore.html#EXTRA_FINISH_ON_COMPLETION)
        pub const EXTRA_FINISH_ON_COMPLETION : &'static str = "android.intent.extra.finishOnCompletion";

        /// public static final [INTENT_ACTION_STILL_IMAGE_CAMERA](https://developer.android.com/reference/android/provider/MediaStore.html#INTENT_ACTION_STILL_IMAGE_CAMERA)
        pub const INTENT_ACTION_STILL_IMAGE_CAMERA : &'static str = "android.media.action.STILL_IMAGE_CAMERA";

        /// public static final [INTENT_ACTION_VIDEO_CAMERA](https://developer.android.com/reference/android/provider/MediaStore.html#INTENT_ACTION_VIDEO_CAMERA)
        pub const INTENT_ACTION_VIDEO_CAMERA : &'static str = "android.media.action.VIDEO_CAMERA";

        /// public static final [ACTION_IMAGE_CAPTURE](https://developer.android.com/reference/android/provider/MediaStore.html#ACTION_IMAGE_CAPTURE)
        pub const ACTION_IMAGE_CAPTURE : &'static str = "android.media.action.IMAGE_CAPTURE";

        /// public static final [ACTION_VIDEO_CAPTURE](https://developer.android.com/reference/android/provider/MediaStore.html#ACTION_VIDEO_CAPTURE)
        pub const ACTION_VIDEO_CAPTURE : &'static str = "android.media.action.VIDEO_CAPTURE";

        /// public static final [EXTRA_VIDEO_QUALITY](https://developer.android.com/reference/android/provider/MediaStore.html#EXTRA_VIDEO_QUALITY)
        pub const EXTRA_VIDEO_QUALITY : &'static str = "android.intent.extra.videoQuality";

        /// public static final [EXTRA_SIZE_LIMIT](https://developer.android.com/reference/android/provider/MediaStore.html#EXTRA_SIZE_LIMIT)
        pub const EXTRA_SIZE_LIMIT : &'static str = "android.intent.extra.sizeLimit";

        /// public static final [EXTRA_DURATION_LIMIT](https://developer.android.com/reference/android/provider/MediaStore.html#EXTRA_DURATION_LIMIT)
        pub const EXTRA_DURATION_LIMIT : &'static str = "android.intent.extra.durationLimit";

        /// public static final [EXTRA_OUTPUT](https://developer.android.com/reference/android/provider/MediaStore.html#EXTRA_OUTPUT)
        pub const EXTRA_OUTPUT : &'static str = "output";

        /// public static final [UNKNOWN_STRING](https://developer.android.com/reference/android/provider/MediaStore.html#UNKNOWN_STRING)
        pub const UNKNOWN_STRING : &'static str = "<unknown>";

        /// public static final [MEDIA_SCANNER_VOLUME](https://developer.android.com/reference/android/provider/MediaStore.html#MEDIA_SCANNER_VOLUME)
        pub const MEDIA_SCANNER_VOLUME : &'static str = "volume";
    }
}