[]Struct jni_android_sys::android::app::Notification_MessagingStyle_Message

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

public final class Notification.MessagingStyle.Message

Required feature: "android-app-Notification_MessagingStyle_Message"

Methods

impl Notification_MessagingStyle_Message

pub fn new_CharSequence_long_CharSequence<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env CharSequence>>,
    arg1: i64,
    arg2: impl Into<Option<&'env CharSequence>>
) -> Result<Local<'env, Notification_MessagingStyle_Message>, Local<'env, Throwable>>
[src]

Deprecated

Message

Required features: "java-lang-CharSequence"

pub fn new_CharSequence_long_Person<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env CharSequence>>,
    arg1: i64,
    arg2: impl Into<Option<&'env Person>>
) -> Result<Local<'env, Notification_MessagingStyle_Message>, Local<'env, Throwable>>
[src]

Message

Required features: "android-app-Person", "java-lang-CharSequence"

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

setData

Required features: "android-app-Notification_MessagingStyle_Message", "android-net-Uri", "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 getTimestamp<'env>(&'env self) -> Result<i64, Local<'env, Throwable>>[src]

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

getExtras

Required features: "android-os-Bundle"

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

Deprecated

getSender

Required features: "java-lang-CharSequence"

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

getSenderPerson

Required features: "android-app-Person"

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

getDataMimeType

Required features: "java-lang-String"

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

getDataUri

Required features: "android-net-Uri"

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 Notification_MessagingStyle_Message

impl AsValidJObjectAndEnv for Notification_MessagingStyle_Message

impl Deref for Notification_MessagingStyle_Message

type Target = Object

The resulting type after dereferencing.

impl JniType for Notification_MessagingStyle_Message

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.