[]Struct jni_android_sys::android::media::MediaRouter_RouteInfo

#[repr(transparent)]
pub struct 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]

getName

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]

getName

Required features: "android-content-Context", "java-lang-CharSequence"

pub fn getDescription<'env>(
    &'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]

getDescription

Required features: "java-lang-CharSequence"

pub fn getStatus<'env>(
    &'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]

getStatus

Required features: "java-lang-CharSequence"

pub fn getSupportedTypes<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

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]

getGroup

Required features: "android-media-MediaRouter_RouteGroup"

pub fn getCategory<'env>(
    &'env self
) -> Result<Option<Local<'env, MediaRouter_RouteCategory>>, Local<'env, Throwable>>
[src]

getCategory

Required features: "android-media-MediaRouter_RouteCategory"

pub fn getIconDrawable<'env>(
    &'env self
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
[src]

getIconDrawable

Required features: "android-graphics-drawable-Drawable"

pub fn setTag<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
[src]

setTag

Required features: "java-lang-Object"

pub fn getTag<'env>(
    &'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]

getTag

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]

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]

pub fn requestUpdateVolume<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getVolumeMax<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn getVolumeHandling<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn getPresentationDisplay<'env>(
    &'env self
) -> Result<Option<Local<'env, Display>>, Local<'env, Throwable>>
[src]

getPresentationDisplay

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]

toString

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]

getClass

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]

equals

Required features: "java-lang-Object"

pub fn toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

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]

pub fn wait_long_int<'env>(
    &'env self,
    arg0: i64,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

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

type Target = Object

The resulting type after dereferencing.

impl JniType for MediaRouter_RouteInfo

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.