[−]Struct jni_android_sys::android::media::MediaRouter_RouteInfo
public class MediaRouter.RouteInfo
Required feature: "android-media-MediaRouter_RouteInfo"
Methods
impl 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]
public static final DEVICE_TYPE_BLUETOOTH
pub const DEVICE_TYPE_SPEAKER: i32
[src]
public static final DEVICE_TYPE_SPEAKER
pub const DEVICE_TYPE_TV: i32
[src]
public static final DEVICE_TYPE_TV
pub const DEVICE_TYPE_UNKNOWN: i32
[src]
public static final DEVICE_TYPE_UNKNOWN
pub const PLAYBACK_TYPE_LOCAL: i32
[src]
public static final PLAYBACK_TYPE_LOCAL
pub const PLAYBACK_TYPE_REMOTE: i32
[src]
public static final PLAYBACK_TYPE_REMOTE
pub const PLAYBACK_VOLUME_FIXED: i32
[src]
public static final PLAYBACK_VOLUME_FIXED
pub const PLAYBACK_VOLUME_VARIABLE: i32
[src]
public static final PLAYBACK_VOLUME_VARIABLE
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 MediaRouter_RouteInfo
impl AsValidJObjectAndEnv for MediaRouter_RouteInfo
impl Deref for MediaRouter_RouteInfo
impl JniType for MediaRouter_RouteInfo
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for MediaRouter_RouteInfo
impl !Send for MediaRouter_RouteInfo
impl !Sync for MediaRouter_RouteInfo
impl Unpin for MediaRouter_RouteInfo
impl UnwindSafe for MediaRouter_RouteInfo
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>,