[−]Struct jni_android_sys::android::drm::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]
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env String>>
) -> Result<Local<'env, DrmInfoEvent>, Local<'env, Throwable>>
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]
__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>>
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]
public static final TYPE_ALREADY_REGISTERED_BY_ANOTHER_ACCOUNT
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]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
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
impl JniType for DrmInfoEvent
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for DrmInfoEvent
impl !Send for DrmInfoEvent
impl !Sync for DrmInfoEvent
impl Unpin for DrmInfoEvent
impl UnwindSafe for DrmInfoEvent
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,