[−]Struct jni_android_sys::android::media::MediaRouter_UserRouteInfo
public class MediaRouter.UserRouteInfo
Required feature: "android-media-MediaRouter_UserRouteInfo"
Methods
impl MediaRouter_UserRouteInfo
pub fn setName_CharSequence<'env>(
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-CharSequence"
pub fn setName_int<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setDescription<'env>(
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-CharSequence"
pub fn setStatus<'env>(
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-CharSequence"
pub fn setRemoteControlClient<'env>(
&'env self,
arg0: impl Into<Option<&'env RemoteControlClient>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env RemoteControlClient>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-media-RemoteControlClient"
pub fn getRemoteControlClient<'env>(
&'env self
) -> Result<Option<Local<'env, RemoteControlClient>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, RemoteControlClient>>, Local<'env, Throwable>>
Required features: "android-media-RemoteControlClient"
pub fn setIconDrawable<'env>(
&'env self,
arg0: impl Into<Option<&'env Drawable>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Drawable>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-drawable-Drawable"
pub fn setIconResource<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setVolumeCallback<'env>(
&'env self,
arg0: impl Into<Option<&'env MediaRouter_VolumeCallback>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MediaRouter_VolumeCallback>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-media-MediaRouter_VolumeCallback"
pub fn setPlaybackType<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setVolumeHandling<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setVolume<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn requestSetVolume<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn requestUpdateVolume<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setVolumeMax<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setPlaybackStream<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
Methods from Deref<Target = MediaRouter_RouteInfo>
pub fn getName<'env>(
&'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
Required features: "java-lang-CharSequence"
pub fn getName_Context<'env>(
&'env self,
arg0: impl Into<Option<&'env Context>>
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Context>>
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
Required features: "android-content-Context", "java-lang-CharSequence"
pub fn getDescription<'env>(
&'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
Required features: "java-lang-CharSequence"
pub fn getStatus<'env>(
&'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
Required features: "java-lang-CharSequence"
pub fn getSupportedTypes<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn getDeviceType<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn getGroup<'env>(
&'env self
) -> Result<Option<Local<'env, MediaRouter_RouteGroup>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, MediaRouter_RouteGroup>>, Local<'env, Throwable>>
Required features: "android-media-MediaRouter_RouteGroup"
pub fn getCategory<'env>(
&'env self
) -> Result<Option<Local<'env, MediaRouter_RouteCategory>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, MediaRouter_RouteCategory>>, Local<'env, Throwable>>
Required features: "android-media-MediaRouter_RouteCategory"
pub fn getIconDrawable<'env>(
&'env self
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
Required features: "android-graphics-drawable-Drawable"
pub fn setTag<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn getTag<'env>(
&'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn getPlaybackType<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn getPlaybackStream<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn getVolume<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn requestSetVolume<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn requestUpdateVolume<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getVolumeMax<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn getVolumeHandling<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn getPresentationDisplay<'env>(
&'env self
) -> Result<Option<Local<'env, Display>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Display>>, Local<'env, Throwable>>
Required features: "android-view-Display"
pub fn isEnabled<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn isConnecting<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
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 const DEVICE_TYPE_BLUETOOTH: i32
[src]
pub const DEVICE_TYPE_SPEAKER: i32
[src]
pub const DEVICE_TYPE_TV: i32
[src]
pub const DEVICE_TYPE_UNKNOWN: i32
[src]
pub const PLAYBACK_TYPE_LOCAL: i32
[src]
pub const PLAYBACK_TYPE_REMOTE: i32
[src]
pub const PLAYBACK_VOLUME_FIXED: i32
[src]
pub const PLAYBACK_VOLUME_VARIABLE: i32
[src]
Trait Implementations
impl AsJValue for MediaRouter_UserRouteInfo
impl AsValidJObjectAndEnv for MediaRouter_UserRouteInfo
impl Deref for MediaRouter_UserRouteInfo
type Target = MediaRouter_RouteInfo
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl JniType for MediaRouter_UserRouteInfo
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for MediaRouter_UserRouteInfo
impl !Send for MediaRouter_UserRouteInfo
impl !Sync for MediaRouter_UserRouteInfo
impl Unpin for MediaRouter_UserRouteInfo
impl UnwindSafe for MediaRouter_UserRouteInfo
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>,