[]Struct jni_android_sys::android::media::MediaDrm_MetricsConstants

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

public final class MediaDrm.MetricsConstants

Required feature: "android-media-MediaDrm_MetricsConstants"

Methods

impl MediaDrm_MetricsConstants

pub const CLOSE_SESSION_ERROR_COUNT: &'static str[src]

public static final CLOSE_SESSION_ERROR_COUNT

pub const CLOSE_SESSION_ERROR_LIST: &'static str[src]

public static final CLOSE_SESSION_ERROR_LIST

pub const CLOSE_SESSION_OK_COUNT: &'static str[src]

public static final CLOSE_SESSION_OK_COUNT

pub const EVENT_KEY_EXPIRED_COUNT: &'static str[src]

public static final EVENT_KEY_EXPIRED_COUNT

pub const EVENT_KEY_NEEDED_COUNT: &'static str[src]

public static final EVENT_KEY_NEEDED_COUNT

pub const EVENT_PROVISION_REQUIRED_COUNT: &'static str[src]

public static final EVENT_PROVISION_REQUIRED_COUNT

pub const EVENT_SESSION_RECLAIMED_COUNT: &'static str[src]

public static final EVENT_SESSION_RECLAIMED_COUNT

pub const EVENT_VENDOR_DEFINED_COUNT: &'static str[src]

public static final EVENT_VENDOR_DEFINED_COUNT

pub const GET_DEVICE_UNIQUE_ID_ERROR_COUNT: &'static str[src]

pub const GET_DEVICE_UNIQUE_ID_ERROR_LIST: &'static str[src]

public static final GET_DEVICE_UNIQUE_ID_ERROR_LIST

pub const GET_DEVICE_UNIQUE_ID_OK_COUNT: &'static str[src]

public static final GET_DEVICE_UNIQUE_ID_OK_COUNT

pub const GET_KEY_REQUEST_ERROR_COUNT: &'static str[src]

public static final GET_KEY_REQUEST_ERROR_COUNT

pub const GET_KEY_REQUEST_ERROR_LIST: &'static str[src]

public static final GET_KEY_REQUEST_ERROR_LIST

pub const GET_KEY_REQUEST_OK_COUNT: &'static str[src]

public static final GET_KEY_REQUEST_OK_COUNT

pub const GET_KEY_REQUEST_OK_TIME_MICROS: &'static str[src]

public static final GET_KEY_REQUEST_OK_TIME_MICROS

pub const GET_PROVISION_REQUEST_ERROR_COUNT: &'static str[src]

pub const GET_PROVISION_REQUEST_ERROR_LIST: &'static str[src]

pub const GET_PROVISION_REQUEST_OK_COUNT: &'static str[src]

public static final GET_PROVISION_REQUEST_OK_COUNT

pub const KEY_STATUS_EXPIRED_COUNT: &'static str[src]

public static final KEY_STATUS_EXPIRED_COUNT

pub const KEY_STATUS_INTERNAL_ERROR_COUNT: &'static str[src]

public static final KEY_STATUS_INTERNAL_ERROR_COUNT

pub const KEY_STATUS_OUTPUT_NOT_ALLOWED_COUNT: &'static str[src]

pub const KEY_STATUS_PENDING_COUNT: &'static str[src]

public static final KEY_STATUS_PENDING_COUNT

pub const KEY_STATUS_USABLE_COUNT: &'static str[src]

public static final KEY_STATUS_USABLE_COUNT

pub const OPEN_SESSION_ERROR_COUNT: &'static str[src]

public static final OPEN_SESSION_ERROR_COUNT

pub const OPEN_SESSION_ERROR_LIST: &'static str[src]

public static final OPEN_SESSION_ERROR_LIST

pub const OPEN_SESSION_OK_COUNT: &'static str[src]

public static final OPEN_SESSION_OK_COUNT

pub const PROVIDE_KEY_RESPONSE_ERROR_COUNT: &'static str[src]

pub const PROVIDE_KEY_RESPONSE_ERROR_LIST: &'static str[src]

public static final PROVIDE_KEY_RESPONSE_ERROR_LIST

pub const PROVIDE_KEY_RESPONSE_OK_COUNT: &'static str[src]

public static final PROVIDE_KEY_RESPONSE_OK_COUNT

pub const PROVIDE_KEY_RESPONSE_OK_TIME_MICROS: &'static str[src]

pub const PROVIDE_PROVISION_RESPONSE_ERROR_COUNT: &'static str[src]

pub const PROVIDE_PROVISION_RESPONSE_ERROR_LIST: &'static str[src]

pub const PROVIDE_PROVISION_RESPONSE_OK_COUNT: &'static str[src]

pub const SESSION_END_TIMES_MS: &'static str[src]

public static final SESSION_END_TIMES_MS

pub const SESSION_START_TIMES_MS: &'static str[src]

public static final SESSION_START_TIMES_MS

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 MediaDrm_MetricsConstants

impl AsValidJObjectAndEnv for MediaDrm_MetricsConstants

impl Deref for MediaDrm_MetricsConstants

type Target = Object

The resulting type after dereferencing.

impl JniType for MediaDrm_MetricsConstants

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.