[]Struct jni_android_sys::android::content::ClipDescription

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

public class ClipDescription

Required feature: "android-content-ClipDescription"

Methods

impl ClipDescription

pub fn new_CharSequence_String_array<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env CharSequence>>,
    arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<Local<'env, ClipDescription>, Local<'env, Throwable>>
[src]

ClipDescription

Required features: "java-lang-CharSequence", "java-lang-String"

pub fn new_ClipDescription<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ClipDescription>>
) -> Result<Local<'env, ClipDescription>, Local<'env, Throwable>>
[src]

ClipDescription

Required features: "android-content-ClipDescription"

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

compareMimeTypes

Required features: "java-lang-String"

pub fn getTimestamp<'env>(&'env self) -> Result<i64, Local<'env, Throwable>>[src]

pub fn getLabel<'env>(
    &'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]

getLabel

Required features: "java-lang-CharSequence"

pub fn hasMimeType<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]

hasMimeType

Required features: "java-lang-String"

pub fn filterMimeTypes<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]

filterMimeTypes

Required features: "java-lang-String"

pub fn getMimeTypeCount<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn getMimeType<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getMimeType

Required features: "java-lang-String"

pub fn getExtras<'env>(
    &'env self
) -> Result<Option<Local<'env, PersistableBundle>>, Local<'env, Throwable>>
[src]

getExtras

Required features: "android-os-PersistableBundle"

pub fn setExtras<'env>(
    &'env self,
    arg0: impl Into<Option<&'env PersistableBundle>>
) -> Result<(), Local<'env, Throwable>>
[src]

setExtras

Required features: "android-os-PersistableBundle"

pub fn toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

Required features: "java-lang-String"

pub fn describeContents<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn writeToParcel<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Parcel>>,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

writeToParcel

Required features: "android-os-Parcel"

pub fn CREATOR<'env>(env: &'env Env) -> Option<Local<'env, Parcelable_Creator>>[src]

get public static final CREATOR

Required feature: "android-os-Parcelable_Creator"

pub const MIMETYPE_TEXT_HTML: &'static str[src]

public static final MIMETYPE_TEXT_HTML

pub const MIMETYPE_TEXT_INTENT: &'static str[src]

public static final MIMETYPE_TEXT_INTENT

pub const MIMETYPE_TEXT_PLAIN: &'static str[src]

public static final MIMETYPE_TEXT_PLAIN

pub const MIMETYPE_TEXT_URILIST: &'static str[src]

public static final MIMETYPE_TEXT_URILIST

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 ClipDescription

impl AsRef<Parcelable> for ClipDescription

impl AsValidJObjectAndEnv for ClipDescription

impl Deref for ClipDescription

type Target = Object

The resulting type after dereferencing.

impl JniType for ClipDescription

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.