[−]Struct jni_android_sys::android::drm::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]
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env String>>
) -> Result<Local<'env, DrmErrorEvent>, 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, DrmErrorEvent>, 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, DrmErrorEvent>, Local<'env, Throwable>>
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]
&'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 DrmErrorEvent
impl AsValidJObjectAndEnv for DrmErrorEvent
impl Deref for DrmErrorEvent
impl JniType for DrmErrorEvent
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for DrmErrorEvent
impl !Send for DrmErrorEvent
impl !Sync for DrmErrorEvent
impl Unpin for DrmErrorEvent
impl UnwindSafe for DrmErrorEvent
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>,