[]Struct jni_android_sys::android::app::Notification_MessagingStyle

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

public class Notification.MessagingStyle

Required feature: "android-app-Notification_MessagingStyle"

Methods

impl Notification_MessagingStyle

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

Deprecated

MessagingStyle

Required features: "java-lang-CharSequence"

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

MessagingStyle

Required features: "android-app-Person"

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

getUser

Required features: "android-app-Person"

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

Deprecated

getUserDisplayName

Required features: "java-lang-CharSequence"

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

setConversationTitle

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

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

getConversationTitle

Required features: "java-lang-CharSequence"

pub fn addMessage_CharSequence_long_CharSequence<'env>(
    &'env self,
    arg0: impl Into<Option<&'env CharSequence>>,
    arg1: i64,
    arg2: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, Notification_MessagingStyle>>, Local<'env, Throwable>>
[src]

Deprecated

addMessage

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

pub fn addMessage_CharSequence_long_Person<'env>(
    &'env self,
    arg0: impl Into<Option<&'env CharSequence>>,
    arg1: i64,
    arg2: impl Into<Option<&'env Person>>
) -> Result<Option<Local<'env, Notification_MessagingStyle>>, Local<'env, Throwable>>
[src]

addMessage

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

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

addMessage

Required features: "android-app-Notification_MessagingStyle", "android-app-Notification_MessagingStyle_Message"

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

addHistoricMessage

Required features: "android-app-Notification_MessagingStyle", "android-app-Notification_MessagingStyle_Message"

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

getMessages

Required features: "java-util-List"

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

getHistoricMessages

Required features: "java-util-List"

pub fn setGroupConversation<'env>(
    &'env self,
    arg0: bool
) -> Result<Option<Local<'env, Notification_MessagingStyle>>, Local<'env, Throwable>>
[src]

setGroupConversation

Required features: "android-app-Notification_MessagingStyle"

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

pub const MAXIMUM_RETAINED_MESSAGES: i32[src]

public static final MAXIMUM_RETAINED_MESSAGES

Methods from Deref<Target = Notification_Style>

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

setBuilder

Required features: "android-app-Notification_Builder"

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

build

Required features: "android-app-Notification"

Trait Implementations

impl AsJValue for Notification_MessagingStyle

impl AsValidJObjectAndEnv for Notification_MessagingStyle

impl Deref for Notification_MessagingStyle

type Target = Notification_Style

The resulting type after dereferencing.

impl JniType for Notification_MessagingStyle

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.