[−]Struct jni_android_sys::android::app::MediaRouteActionProvider
public class MediaRouteActionProvider
Required feature: "android-app-MediaRouteActionProvider"
Methods
impl MediaRouteActionProvider
pub fn new<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, MediaRouteActionProvider>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, MediaRouteActionProvider>, Local<'env, Throwable>>
Required features: "android-content-Context"
pub fn setRouteTypes<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setExtendedSettingsClickListener<'env>(
&'env self,
arg0: impl Into<Option<&'env View_OnClickListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View_OnClickListener>>
) -> Result<(), Local<'env, Throwable>>
setExtendedSettingsClickListener
Required features: "android-view-View_OnClickListener"
pub fn onCreateActionView<'env>(
&'env self
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
Required features: "android-view-View"
pub fn onCreateActionView_MenuItem<'env>(
&'env self,
arg0: impl Into<Option<&'env MenuItem>>
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MenuItem>>
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
Required features: "android-view-MenuItem", "android-view-View"
pub fn onPerformDefaultAction<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn overridesItemVisibility<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn isVisible<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
Methods from Deref<Target = ActionProvider>
pub fn onCreateActionView<'env>(
&'env self
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
Deprecated
Required features: "android-view-View"
pub fn onCreateActionView_MenuItem<'env>(
&'env self,
arg0: impl Into<Option<&'env MenuItem>>
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MenuItem>>
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
Required features: "android-view-MenuItem", "android-view-View"
pub fn overridesItemVisibility<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn isVisible<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn refreshVisibility<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn onPerformDefaultAction<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn hasSubMenu<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn onPrepareSubMenu<'env>(
&'env self,
arg0: impl Into<Option<&'env SubMenu>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env SubMenu>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-SubMenu"
pub fn setVisibilityListener<'env>(
&'env self,
arg0: impl Into<Option<&'env ActionProvider_VisibilityListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ActionProvider_VisibilityListener>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-ActionProvider_VisibilityListener"
Trait Implementations
impl AsJValue for MediaRouteActionProvider
impl AsValidJObjectAndEnv for MediaRouteActionProvider
impl Deref for MediaRouteActionProvider
type Target = ActionProvider
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl JniType for MediaRouteActionProvider
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for MediaRouteActionProvider
impl !Send for MediaRouteActionProvider
impl !Sync for MediaRouteActionProvider
impl Unpin for MediaRouteActionProvider
impl UnwindSafe for MediaRouteActionProvider
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>,