[]Struct jni_android_sys::android::drm::DrmInfoEvent

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

public class DrmInfoEvent

Required feature: "android-drm-DrmInfoEvent"

Methods

impl DrmInfoEvent

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

DrmInfoEvent

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, DrmInfoEvent>, Local<'env, Throwable>>
[src]

DrmInfoEvent

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

pub const TYPE_ACCOUNT_ALREADY_REGISTERED: i32[src]

public static final TYPE_ACCOUNT_ALREADY_REGISTERED

pub const TYPE_ALREADY_REGISTERED_BY_ANOTHER_ACCOUNT: i32[src]

pub const TYPE_REMOVE_RIGHTS: i32[src]

public static final TYPE_REMOVE_RIGHTS

pub const TYPE_RIGHTS_INSTALLED: i32[src]

public static final TYPE_RIGHTS_INSTALLED

pub const TYPE_RIGHTS_REMOVED: i32[src]

public static final TYPE_RIGHTS_REMOVED

pub const TYPE_WAIT_FOR_RIGHTS: i32[src]

public static final TYPE_WAIT_FOR_RIGHTS

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 DrmInfoEvent

impl AsValidJObjectAndEnv for DrmInfoEvent

impl Deref for DrmInfoEvent

type Target = DrmEvent

The resulting type after dereferencing.

impl JniType for DrmInfoEvent

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.