[−]Struct jni_android_sys::android::media::RingtoneManager
public class RingtoneManager
Required feature: "android-media-RingtoneManager"
Methods
impl RingtoneManager
pub fn new_Activity<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Activity>>
) -> Result<Local<'env, RingtoneManager>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Activity>>
) -> Result<Local<'env, RingtoneManager>, Local<'env, Throwable>>
Required features: "android-app-Activity"
pub fn new_Context<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, RingtoneManager>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, RingtoneManager>, Local<'env, Throwable>>
Required features: "android-content-Context"
pub fn setType<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn inferStreamType<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn setStopPreviousRingtone<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getStopPreviousRingtone<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn stopPreviousRingtone<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
pub fn getIncludeDrm<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn setIncludeDrm<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getCursor<'env>(
&'env self
) -> Result<Option<Local<'env, Cursor>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Cursor>>, Local<'env, Throwable>>
Required features: "android-database-Cursor"
pub fn getRingtone_int<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Ringtone>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Ringtone>>, Local<'env, Throwable>>
Required features: "android-media-Ringtone"
pub fn getRingtoneUri<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
Required features: "android-net-Uri"
pub fn getRingtonePosition<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "android-net-Uri"
pub fn getValidRingtoneUri<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
Required features: "android-content-Context", "android-net-Uri"
pub fn getRingtone_Context_Uri<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env Uri>>
) -> Result<Option<Local<'env, Ringtone>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env Uri>>
) -> Result<Option<Local<'env, Ringtone>>, Local<'env, Throwable>>
Required features: "android-content-Context", "android-media-Ringtone", "android-net-Uri"
pub fn getActualDefaultRingtoneUri<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
Required features: "android-content-Context", "android-net-Uri"
pub fn setActualDefaultRingtoneUri<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: impl Into<Option<&'env Uri>>
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: impl Into<Option<&'env Uri>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Context", "android-net-Uri"
pub fn isDefault<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Uri>>
) -> Result<bool, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Uri>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-net-Uri"
pub fn getDefaultType<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Uri>>
) -> Result<i32, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Uri>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "android-net-Uri"
pub fn getDefaultUri<'env>(
__jni_env: &'env Env,
arg0: i32
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
Required features: "android-net-Uri"
pub const ACTION_RINGTONE_PICKER: &'static str
[src]
public static final ACTION_RINGTONE_PICKER
pub const EXTRA_RINGTONE_DEFAULT_URI: &'static str
[src]
public static final EXTRA_RINGTONE_DEFAULT_URI
pub const EXTRA_RINGTONE_EXISTING_URI: &'static str
[src]
public static final EXTRA_RINGTONE_EXISTING_URI
pub const EXTRA_RINGTONE_INCLUDE_DRM: &'static str
[src]
public static final EXTRA_RINGTONE_INCLUDE_DRM
pub const EXTRA_RINGTONE_PICKED_URI: &'static str
[src]
public static final EXTRA_RINGTONE_PICKED_URI
pub const EXTRA_RINGTONE_SHOW_DEFAULT: &'static str
[src]
public static final EXTRA_RINGTONE_SHOW_DEFAULT
pub const EXTRA_RINGTONE_SHOW_SILENT: &'static str
[src]
public static final EXTRA_RINGTONE_SHOW_SILENT
pub const EXTRA_RINGTONE_TITLE: &'static str
[src]
public static final EXTRA_RINGTONE_TITLE
pub const EXTRA_RINGTONE_TYPE: &'static str
[src]
public static final EXTRA_RINGTONE_TYPE
pub const ID_COLUMN_INDEX: i32
[src]
public static final ID_COLUMN_INDEX
pub const TITLE_COLUMN_INDEX: i32
[src]
public static final TITLE_COLUMN_INDEX
pub const TYPE_ALARM: i32
[src]
public static final TYPE_ALARM
pub const TYPE_ALL: i32
[src]
public static final TYPE_ALL
pub const TYPE_NOTIFICATION: i32
[src]
public static final TYPE_NOTIFICATION
pub const TYPE_RINGTONE: i32
[src]
public static final TYPE_RINGTONE
pub const URI_COLUMN_INDEX: i32
[src]
public static final URI_COLUMN_INDEX
Methods from Deref<Target = Object>
pub fn getClass<'env>(
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Trait Implementations
impl AsJValue for RingtoneManager
impl AsValidJObjectAndEnv for RingtoneManager
impl Deref for RingtoneManager
impl JniType for RingtoneManager
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for RingtoneManager
impl !Send for RingtoneManager
impl !Sync for RingtoneManager
impl Unpin for RingtoneManager
impl UnwindSafe for RingtoneManager
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,