[−]Struct jni_android_sys::android::media::MediaRouter_SimpleCallback
public class MediaRouter.SimpleCallback
Required feature: "android-media-MediaRouter_SimpleCallback"
Methods
impl MediaRouter_SimpleCallback
pub fn new<'env>(
__jni_env: &'env Env
) -> Result<Local<'env, MediaRouter_SimpleCallback>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Local<'env, MediaRouter_SimpleCallback>, Local<'env, Throwable>>
pub fn onRouteSelected<'env>(
&'env self,
arg0: impl Into<Option<&'env MediaRouter>>,
arg1: i32,
arg2: impl Into<Option<&'env MediaRouter_RouteInfo>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MediaRouter>>,
arg1: i32,
arg2: impl Into<Option<&'env MediaRouter_RouteInfo>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-media-MediaRouter", "android-media-MediaRouter_RouteInfo"
pub fn onRouteUnselected<'env>(
&'env self,
arg0: impl Into<Option<&'env MediaRouter>>,
arg1: i32,
arg2: impl Into<Option<&'env MediaRouter_RouteInfo>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MediaRouter>>,
arg1: i32,
arg2: impl Into<Option<&'env MediaRouter_RouteInfo>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-media-MediaRouter", "android-media-MediaRouter_RouteInfo"
pub fn onRouteAdded<'env>(
&'env self,
arg0: impl Into<Option<&'env MediaRouter>>,
arg1: impl Into<Option<&'env MediaRouter_RouteInfo>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MediaRouter>>,
arg1: impl Into<Option<&'env MediaRouter_RouteInfo>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-media-MediaRouter", "android-media-MediaRouter_RouteInfo"
pub fn onRouteRemoved<'env>(
&'env self,
arg0: impl Into<Option<&'env MediaRouter>>,
arg1: impl Into<Option<&'env MediaRouter_RouteInfo>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MediaRouter>>,
arg1: impl Into<Option<&'env MediaRouter_RouteInfo>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-media-MediaRouter", "android-media-MediaRouter_RouteInfo"
pub fn onRouteChanged<'env>(
&'env self,
arg0: impl Into<Option<&'env MediaRouter>>,
arg1: impl Into<Option<&'env MediaRouter_RouteInfo>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MediaRouter>>,
arg1: impl Into<Option<&'env MediaRouter_RouteInfo>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-media-MediaRouter", "android-media-MediaRouter_RouteInfo"
pub fn onRouteGrouped<'env>(
&'env self,
arg0: impl Into<Option<&'env MediaRouter>>,
arg1: impl Into<Option<&'env MediaRouter_RouteInfo>>,
arg2: impl Into<Option<&'env MediaRouter_RouteGroup>>,
arg3: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MediaRouter>>,
arg1: impl Into<Option<&'env MediaRouter_RouteInfo>>,
arg2: impl Into<Option<&'env MediaRouter_RouteGroup>>,
arg3: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-media-MediaRouter", "android-media-MediaRouter_RouteGroup", "android-media-MediaRouter_RouteInfo"
pub fn onRouteUngrouped<'env>(
&'env self,
arg0: impl Into<Option<&'env MediaRouter>>,
arg1: impl Into<Option<&'env MediaRouter_RouteInfo>>,
arg2: impl Into<Option<&'env MediaRouter_RouteGroup>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MediaRouter>>,
arg1: impl Into<Option<&'env MediaRouter_RouteInfo>>,
arg2: impl Into<Option<&'env MediaRouter_RouteGroup>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-media-MediaRouter", "android-media-MediaRouter_RouteGroup", "android-media-MediaRouter_RouteInfo"
pub fn onRouteVolumeChanged<'env>(
&'env self,
arg0: impl Into<Option<&'env MediaRouter>>,
arg1: impl Into<Option<&'env MediaRouter_RouteInfo>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MediaRouter>>,
arg1: impl Into<Option<&'env MediaRouter_RouteInfo>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-media-MediaRouter", "android-media-MediaRouter_RouteInfo"
Methods from Deref<Target = MediaRouter_Callback>
pub fn onRouteSelected<'env>(
&'env self,
arg0: impl Into<Option<&'env MediaRouter>>,
arg1: i32,
arg2: impl Into<Option<&'env MediaRouter_RouteInfo>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MediaRouter>>,
arg1: i32,
arg2: impl Into<Option<&'env MediaRouter_RouteInfo>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-media-MediaRouter", "android-media-MediaRouter_RouteInfo"
pub fn onRouteUnselected<'env>(
&'env self,
arg0: impl Into<Option<&'env MediaRouter>>,
arg1: i32,
arg2: impl Into<Option<&'env MediaRouter_RouteInfo>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MediaRouter>>,
arg1: i32,
arg2: impl Into<Option<&'env MediaRouter_RouteInfo>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-media-MediaRouter", "android-media-MediaRouter_RouteInfo"
pub fn onRouteAdded<'env>(
&'env self,
arg0: impl Into<Option<&'env MediaRouter>>,
arg1: impl Into<Option<&'env MediaRouter_RouteInfo>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MediaRouter>>,
arg1: impl Into<Option<&'env MediaRouter_RouteInfo>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-media-MediaRouter", "android-media-MediaRouter_RouteInfo"
pub fn onRouteRemoved<'env>(
&'env self,
arg0: impl Into<Option<&'env MediaRouter>>,
arg1: impl Into<Option<&'env MediaRouter_RouteInfo>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MediaRouter>>,
arg1: impl Into<Option<&'env MediaRouter_RouteInfo>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-media-MediaRouter", "android-media-MediaRouter_RouteInfo"
pub fn onRouteChanged<'env>(
&'env self,
arg0: impl Into<Option<&'env MediaRouter>>,
arg1: impl Into<Option<&'env MediaRouter_RouteInfo>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MediaRouter>>,
arg1: impl Into<Option<&'env MediaRouter_RouteInfo>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-media-MediaRouter", "android-media-MediaRouter_RouteInfo"
pub fn onRouteGrouped<'env>(
&'env self,
arg0: impl Into<Option<&'env MediaRouter>>,
arg1: impl Into<Option<&'env MediaRouter_RouteInfo>>,
arg2: impl Into<Option<&'env MediaRouter_RouteGroup>>,
arg3: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MediaRouter>>,
arg1: impl Into<Option<&'env MediaRouter_RouteInfo>>,
arg2: impl Into<Option<&'env MediaRouter_RouteGroup>>,
arg3: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-media-MediaRouter", "android-media-MediaRouter_RouteGroup", "android-media-MediaRouter_RouteInfo"
pub fn onRouteUngrouped<'env>(
&'env self,
arg0: impl Into<Option<&'env MediaRouter>>,
arg1: impl Into<Option<&'env MediaRouter_RouteInfo>>,
arg2: impl Into<Option<&'env MediaRouter_RouteGroup>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MediaRouter>>,
arg1: impl Into<Option<&'env MediaRouter_RouteInfo>>,
arg2: impl Into<Option<&'env MediaRouter_RouteGroup>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-media-MediaRouter", "android-media-MediaRouter_RouteGroup", "android-media-MediaRouter_RouteInfo"
pub fn onRouteVolumeChanged<'env>(
&'env self,
arg0: impl Into<Option<&'env MediaRouter>>,
arg1: impl Into<Option<&'env MediaRouter_RouteInfo>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MediaRouter>>,
arg1: impl Into<Option<&'env MediaRouter_RouteInfo>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-media-MediaRouter", "android-media-MediaRouter_RouteInfo"
pub fn onRoutePresentationDisplayChanged<'env>(
&'env self,
arg0: impl Into<Option<&'env MediaRouter>>,
arg1: impl Into<Option<&'env MediaRouter_RouteInfo>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MediaRouter>>,
arg1: impl Into<Option<&'env MediaRouter_RouteInfo>>
) -> Result<(), Local<'env, Throwable>>
onRoutePresentationDisplayChanged
Required features: "android-media-MediaRouter", "android-media-MediaRouter_RouteInfo"
Trait Implementations
impl AsJValue for MediaRouter_SimpleCallback
impl AsValidJObjectAndEnv for MediaRouter_SimpleCallback
impl Deref for MediaRouter_SimpleCallback
type Target = MediaRouter_Callback
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl JniType for MediaRouter_SimpleCallback
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for MediaRouter_SimpleCallback
impl !Send for MediaRouter_SimpleCallback
impl !Sync for MediaRouter_SimpleCallback
impl Unpin for MediaRouter_SimpleCallback
impl UnwindSafe for MediaRouter_SimpleCallback
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>,