[]Struct jni_android_sys::android::drm::DrmErrorEvent

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

public class DrmErrorEvent

Required feature: "android-drm-DrmErrorEvent"

Methods

impl DrmErrorEvent

pub fn new_int_int_String<'env>(
    __jni_env: &'env Env,
    arg0: i32,
    arg1: i32,
    arg2: impl Into<Option<&'env String>>
) -> Result<Local<'env, DrmErrorEvent>, Local<'env, Throwable>>
[src]

DrmErrorEvent

Required features: "java-lang-String"

pub fn new_int_int_String_HashMap<'env>(
    __jni_env: &'env Env,
    arg0: i32,
    arg1: i32,
    arg2: impl Into<Option<&'env String>>,
    arg3: impl Into<Option<&'env HashMap>>
) -> Result<Local<'env, DrmErrorEvent>, Local<'env, Throwable>>
[src]

DrmErrorEvent

Required features: "java-lang-String", "java-util-HashMap"

pub const TYPE_ACQUIRE_DRM_INFO_FAILED: i32[src]

public static final TYPE_ACQUIRE_DRM_INFO_FAILED

pub const TYPE_NOT_SUPPORTED: i32[src]

public static final TYPE_NOT_SUPPORTED

pub const TYPE_NO_INTERNET_CONNECTION: i32[src]

public static final TYPE_NO_INTERNET_CONNECTION

pub const TYPE_OUT_OF_MEMORY: i32[src]

public static final TYPE_OUT_OF_MEMORY

pub const TYPE_PROCESS_DRM_INFO_FAILED: i32[src]

public static final TYPE_PROCESS_DRM_INFO_FAILED

pub const TYPE_REMOVE_ALL_RIGHTS_FAILED: i32[src]

public static final TYPE_REMOVE_ALL_RIGHTS_FAILED

pub const TYPE_RIGHTS_NOT_INSTALLED: i32[src]

public static final TYPE_RIGHTS_NOT_INSTALLED

pub const TYPE_RIGHTS_RENEWAL_NOT_ALLOWED: i32[src]

public static final TYPE_RIGHTS_RENEWAL_NOT_ALLOWED

Methods from Deref<Target = 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]

pub const DRM_INFO_STATUS_OBJECT: &'static str[src]

pub const TYPE_ALL_RIGHTS_REMOVED: i32[src]

pub const TYPE_DRM_INFO_PROCESSED: i32[src]

Trait Implementations

impl AsJValue for DrmErrorEvent

impl AsValidJObjectAndEnv for DrmErrorEvent

impl Deref for DrmErrorEvent

type Target = DrmEvent

The resulting type after dereferencing.

impl JniType for DrmErrorEvent

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.