[]Struct jni_android_sys::android::drm::DrmEvent

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

public class DrmEvent

Required feature: "android-drm-DrmEvent"

Methods

impl DrmEvent

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

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

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

getMessage

Required features: "java-lang-String"

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

getAttribute

Required features: "java-lang-Object", "java-lang-String"

pub const DRM_INFO_OBJECT: &'static str[src]

public static final DRM_INFO_OBJECT

pub const DRM_INFO_STATUS_OBJECT: &'static str[src]

public static final DRM_INFO_STATUS_OBJECT

pub const TYPE_ALL_RIGHTS_REMOVED: i32[src]

public static final TYPE_ALL_RIGHTS_REMOVED

pub const TYPE_DRM_INFO_PROCESSED: i32[src]

public static final TYPE_DRM_INFO_PROCESSED

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 DrmEvent

impl AsValidJObjectAndEnv for DrmEvent

impl Deref for DrmEvent

type Target = Object

The resulting type after dereferencing.

impl JniType for DrmEvent

Auto Trait Implementations

impl RefUnwindSafe for DrmEvent

impl !Send for DrmEvent

impl !Sync for DrmEvent

impl Unpin for DrmEvent

impl UnwindSafe for DrmEvent

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.