[]Struct jni_android_sys::android::provider::MediaStore

#[repr(transparent)]
pub struct MediaStore(_);

public final class MediaStore

Required feature: "android-provider-MediaStore"

Methods

impl MediaStore

pub fn new<'env>(
    __jni_env: &'env Env
) -> Result<Local<'env, MediaStore>, Local<'env, Throwable>>
[src]

pub fn getMediaScannerUri<'env>(
    __jni_env: &'env Env
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
[src]

getMediaScannerUri

Required features: "android-net-Uri"

pub fn getVersion<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getVersion

Required features: "android-content-Context", "java-lang-String"

pub fn getDocumentUri<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>,
    arg1: impl Into<Option<&'env Uri>>
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
[src]

getDocumentUri

Required features: "android-content-Context", "android-net-Uri"

pub const ACTION_IMAGE_CAPTURE: &'static str[src]

public static final ACTION_IMAGE_CAPTURE

pub const ACTION_IMAGE_CAPTURE_SECURE: &'static str[src]

public static final ACTION_IMAGE_CAPTURE_SECURE

pub const ACTION_VIDEO_CAPTURE: &'static str[src]

public static final ACTION_VIDEO_CAPTURE

pub const AUTHORITY: &'static str[src]

public static final AUTHORITY

pub const EXTRA_DURATION_LIMIT: &'static str[src]

public static final EXTRA_DURATION_LIMIT

pub const EXTRA_FINISH_ON_COMPLETION: &'static str[src]

public static final EXTRA_FINISH_ON_COMPLETION

pub const EXTRA_FULL_SCREEN: &'static str[src]

public static final EXTRA_FULL_SCREEN

pub const EXTRA_MEDIA_ALBUM: &'static str[src]

public static final EXTRA_MEDIA_ALBUM

pub const EXTRA_MEDIA_ARTIST: &'static str[src]

public static final EXTRA_MEDIA_ARTIST

pub const EXTRA_MEDIA_FOCUS: &'static str[src]

public static final EXTRA_MEDIA_FOCUS

pub const EXTRA_MEDIA_GENRE: &'static str[src]

public static final EXTRA_MEDIA_GENRE

pub const EXTRA_MEDIA_PLAYLIST: &'static str[src]

public static final EXTRA_MEDIA_PLAYLIST

pub const EXTRA_MEDIA_RADIO_CHANNEL: &'static str[src]

public static final EXTRA_MEDIA_RADIO_CHANNEL

pub const EXTRA_MEDIA_TITLE: &'static str[src]

public static final EXTRA_MEDIA_TITLE

pub const EXTRA_OUTPUT: &'static str[src]

public static final EXTRA_OUTPUT

pub const EXTRA_SCREEN_ORIENTATION: &'static str[src]

public static final EXTRA_SCREEN_ORIENTATION

pub const EXTRA_SHOW_ACTION_ICONS: &'static str[src]

public static final EXTRA_SHOW_ACTION_ICONS

pub const EXTRA_SIZE_LIMIT: &'static str[src]

public static final EXTRA_SIZE_LIMIT

pub const EXTRA_VIDEO_QUALITY: &'static str[src]

public static final EXTRA_VIDEO_QUALITY

public static final INTENT_ACTION_MEDIA_SEARCH

pub const INTENT_ACTION_MUSIC_PLAYER: &'static str[src]

Deprecated

public static final INTENT_ACTION_MUSIC_PLAYER

pub const INTENT_ACTION_STILL_IMAGE_CAMERA: &'static str[src]

pub const INTENT_ACTION_STILL_IMAGE_CAMERA_SECURE: &'static str[src]

pub const INTENT_ACTION_VIDEO_CAMERA: &'static str[src]

public static final INTENT_ACTION_VIDEO_CAMERA

pub const MEDIA_IGNORE_FILENAME: &'static str[src]

public static final MEDIA_IGNORE_FILENAME

pub const MEDIA_SCANNER_VOLUME: &'static str[src]

public static final MEDIA_SCANNER_VOLUME

pub const META_DATA_STILL_IMAGE_CAMERA_PREWARM_SERVICE: &'static str[src]

pub const UNKNOWN_STRING: &'static str[src]

public static final UNKNOWN_STRING

Methods from Deref<Target = Object>

pub fn getClass<'env>(
    &'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]

getClass

Required features: "java-lang-Class"

pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn equals<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]

equals

Required features: "java-lang-Object"

pub fn toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

Required features: "java-lang-String"

pub fn notify<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn notifyAll<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn wait_long<'env>(
    &'env self,
    arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait_long_int<'env>(
    &'env self,
    arg0: i64,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

Trait Implementations

impl AsJValue for MediaStore

impl AsValidJObjectAndEnv for MediaStore

impl Deref for MediaStore

type Target = Object

The resulting type after dereferencing.

impl JniType for MediaStore

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.