[]Struct jni_android_sys::android::media::AudioAttributes

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

public final class AudioAttributes

Required feature: "android-media-AudioAttributes"

Methods

impl AudioAttributes

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

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

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

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

pub fn writeToParcel<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Parcel>>,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

writeToParcel

Required features: "android-os-Parcel"

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

toString

Required features: "java-lang-String"

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

pub const CONTENT_TYPE_MOVIE: i32[src]

public static final CONTENT_TYPE_MOVIE

pub const CONTENT_TYPE_MUSIC: i32[src]

public static final CONTENT_TYPE_MUSIC

pub const CONTENT_TYPE_SONIFICATION: i32[src]

public static final CONTENT_TYPE_SONIFICATION

pub const CONTENT_TYPE_SPEECH: i32[src]

public static final CONTENT_TYPE_SPEECH

pub const CONTENT_TYPE_UNKNOWN: i32[src]

public static final CONTENT_TYPE_UNKNOWN

pub fn CREATOR<'env>(env: &'env Env) -> Option<Local<'env, Parcelable_Creator>>[src]

get public static final CREATOR

Required feature: "android-os-Parcelable_Creator"

pub const FLAG_AUDIBILITY_ENFORCED: i32[src]

public static final FLAG_AUDIBILITY_ENFORCED

pub const FLAG_HW_AV_SYNC: i32[src]

public static final FLAG_HW_AV_SYNC

pub const FLAG_LOW_LATENCY: i32[src]

Deprecated

public static final FLAG_LOW_LATENCY

pub const USAGE_ALARM: i32[src]

public static final USAGE_ALARM

pub const USAGE_ASSISTANCE_ACCESSIBILITY: i32[src]

public static final USAGE_ASSISTANCE_ACCESSIBILITY

pub const USAGE_ASSISTANCE_NAVIGATION_GUIDANCE: i32[src]

pub const USAGE_ASSISTANCE_SONIFICATION: i32[src]

public static final USAGE_ASSISTANCE_SONIFICATION

pub const USAGE_ASSISTANT: i32[src]

public static final USAGE_ASSISTANT

pub const USAGE_GAME: i32[src]

public static final USAGE_GAME

pub const USAGE_MEDIA: i32[src]

public static final USAGE_MEDIA

pub const USAGE_NOTIFICATION: i32[src]

public static final USAGE_NOTIFICATION

pub const USAGE_NOTIFICATION_COMMUNICATION_DELAYED: i32[src]

pub const USAGE_NOTIFICATION_COMMUNICATION_INSTANT: i32[src]

pub const USAGE_NOTIFICATION_COMMUNICATION_REQUEST: i32[src]

pub const USAGE_NOTIFICATION_EVENT: i32[src]

public static final USAGE_NOTIFICATION_EVENT

pub const USAGE_NOTIFICATION_RINGTONE: i32[src]

public static final USAGE_NOTIFICATION_RINGTONE

pub const USAGE_UNKNOWN: i32[src]

public static final USAGE_UNKNOWN

pub const USAGE_VOICE_COMMUNICATION: i32[src]

public static final USAGE_VOICE_COMMUNICATION

pub const USAGE_VOICE_COMMUNICATION_SIGNALLING: i32[src]

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 AudioAttributes

impl AsRef<Parcelable> for AudioAttributes

impl AsValidJObjectAndEnv for AudioAttributes

impl Deref for AudioAttributes

type Target = Object

The resulting type after dereferencing.

impl JniType for AudioAttributes

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.