[]Struct jni_android_sys::android::content::ClipData_Item

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

public class ClipData.Item

Required feature: "android-content-ClipData_Item"

Methods

impl ClipData_Item

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

Item

Required features: "java-lang-CharSequence"

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

Item

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

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

Item

Required features: "android-content-Intent"

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

Item

Required features: "android-net-Uri"

pub fn new_CharSequence_Intent_Uri<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env CharSequence>>,
    arg1: impl Into<Option<&'env Intent>>,
    arg2: impl Into<Option<&'env Uri>>
) -> Result<Local<'env, ClipData_Item>, Local<'env, Throwable>>
[src]

Item

Required features: "android-content-Intent", "android-net-Uri", "java-lang-CharSequence"

pub fn new_CharSequence_String_Intent_Uri<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env CharSequence>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env Intent>>,
    arg3: impl Into<Option<&'env Uri>>
) -> Result<Local<'env, ClipData_Item>, Local<'env, Throwable>>
[src]

Item

Required features: "android-content-Intent", "android-net-Uri", "java-lang-CharSequence", "java-lang-String"

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

getText

Required features: "java-lang-CharSequence"

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

getHtmlText

Required features: "java-lang-String"

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

getIntent

Required features: "android-content-Intent"

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

getUri

Required features: "android-net-Uri"

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

coerceToText

Required features: "android-content-Context", "java-lang-CharSequence"

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

coerceToStyledText

Required features: "android-content-Context", "java-lang-CharSequence"

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

coerceToHtmlText

Required features: "android-content-Context", "java-lang-String"

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

toString

Required features: "java-lang-String"

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 ClipData_Item

impl AsValidJObjectAndEnv for ClipData_Item

impl Deref for ClipData_Item

type Target = Object

The resulting type after dereferencing.

impl JniType for ClipData_Item

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.