[]Struct jni_android_sys::android::media::AudioDeviceInfo

#[repr(transparent)]
pub struct AudioDeviceInfo(_);

public final class AudioDeviceInfo

Required feature: "android-media-AudioDeviceInfo"

Methods

impl AudioDeviceInfo

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 hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

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

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

getProductName

Required features: "java-lang-CharSequence"

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

getAddress

Required features: "java-lang-String"

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

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

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

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

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

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

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

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

pub const TYPE_AUX_LINE: i32[src]

public static final TYPE_AUX_LINE

pub const TYPE_BLUETOOTH_A2DP: i32[src]

public static final TYPE_BLUETOOTH_A2DP

pub const TYPE_BLUETOOTH_SCO: i32[src]

public static final TYPE_BLUETOOTH_SCO

pub const TYPE_BUILTIN_EARPIECE: i32[src]

public static final TYPE_BUILTIN_EARPIECE

pub const TYPE_BUILTIN_MIC: i32[src]

public static final TYPE_BUILTIN_MIC

pub const TYPE_BUILTIN_SPEAKER: i32[src]

public static final TYPE_BUILTIN_SPEAKER

pub const TYPE_BUS: i32[src]

public static final TYPE_BUS

pub const TYPE_DOCK: i32[src]

public static final TYPE_DOCK

pub const TYPE_FM: i32[src]

public static final TYPE_FM

pub const TYPE_FM_TUNER: i32[src]

public static final TYPE_FM_TUNER

pub const TYPE_HDMI: i32[src]

public static final TYPE_HDMI

pub const TYPE_HDMI_ARC: i32[src]

public static final TYPE_HDMI_ARC

pub const TYPE_HEARING_AID: i32[src]

public static final TYPE_HEARING_AID

pub const TYPE_IP: i32[src]

public static final TYPE_IP

pub const TYPE_LINE_ANALOG: i32[src]

public static final TYPE_LINE_ANALOG

pub const TYPE_LINE_DIGITAL: i32[src]

public static final TYPE_LINE_DIGITAL

pub const TYPE_TELEPHONY: i32[src]

public static final TYPE_TELEPHONY

pub const TYPE_TV_TUNER: i32[src]

public static final TYPE_TV_TUNER

pub const TYPE_UNKNOWN: i32[src]

public static final TYPE_UNKNOWN

pub const TYPE_USB_ACCESSORY: i32[src]

public static final TYPE_USB_ACCESSORY

pub const TYPE_USB_DEVICE: i32[src]

public static final TYPE_USB_DEVICE

pub const TYPE_USB_HEADSET: i32[src]

public static final TYPE_USB_HEADSET

pub const TYPE_WIRED_HEADPHONES: i32[src]

public static final TYPE_WIRED_HEADPHONES

pub const TYPE_WIRED_HEADSET: i32[src]

public static final TYPE_WIRED_HEADSET

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 AudioDeviceInfo

impl AsValidJObjectAndEnv for AudioDeviceInfo

impl Deref for AudioDeviceInfo

type Target = Object

The resulting type after dereferencing.

impl JniType for AudioDeviceInfo

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.