[−]Struct jni_android_sys::android::app::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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Local<'env, Notification_MessagingStyle>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Person>>
) -> Result<Local<'env, Notification_MessagingStyle>, Local<'env, Throwable>>
Required features: "android-app-Person"
pub fn getUser<'env>(
&'env self
) -> Result<Option<Local<'env, Person>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Person>>, Local<'env, Throwable>>
Required features: "android-app-Person"
pub fn getUserDisplayName<'env>(
&'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, Notification_MessagingStyle>>, Local<'env, Throwable>>
Required features: "android-app-Notification_MessagingStyle", "java-lang-CharSequence"
pub fn getConversationTitle<'env>(
&'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
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]
&'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>>
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]
&'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>>
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]
&'env self,
arg0: impl Into<Option<&'env Notification_MessagingStyle_Message>>
) -> Result<Option<Local<'env, Notification_MessagingStyle>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Notification_MessagingStyle_Message>>
) -> Result<Option<Local<'env, Notification_MessagingStyle>>, Local<'env, Throwable>>
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]
&'env self
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "java-util-List"
pub fn getHistoricMessages<'env>(
&'env self
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "java-util-List"
pub fn setGroupConversation<'env>(
&'env self,
arg0: bool
) -> Result<Option<Local<'env, Notification_MessagingStyle>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<Option<Local<'env, Notification_MessagingStyle>>, Local<'env, Throwable>>
Required features: "android-app-Notification_MessagingStyle"
pub fn isGroupConversation<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Notification_Builder>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-app-Notification_Builder"
pub fn build<'env>(
&'env self
) -> Result<Option<Local<'env, Notification>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Notification>>, Local<'env, Throwable>>
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.
fn deref(&self) -> &Self::Target
impl JniType for Notification_MessagingStyle
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for Notification_MessagingStyle
impl !Send for Notification_MessagingStyle
impl !Sync for Notification_MessagingStyle
impl Unpin for Notification_MessagingStyle
impl UnwindSafe for Notification_MessagingStyle
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,