[−]Struct jni_android_sys::android::app::Notification_Builder
public class Notification.Builder
Required feature: "android-app-Notification_Builder"
Methods
impl Notification_Builder
pub fn new_Context_String<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, Notification_Builder>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, Notification_Builder>, Local<'env, Throwable>>
Required features: "android-content-Context", "java-lang-String"
pub fn new_Context<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, Notification_Builder>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, Notification_Builder>, Local<'env, Throwable>>
Required features: "android-content-Context"
pub fn setShortcutId<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder", "java-lang-String"
pub fn setBadgeIconType<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder"
pub fn setGroupAlertBehavior<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder"
pub fn setChannelId<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder", "java-lang-String"
pub fn setTimeoutAfter<'env>(
&'env self,
arg0: i64
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i64
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder"
pub fn setWhen<'env>(
&'env self,
arg0: i64
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i64
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder"
pub fn setShowWhen<'env>(
&'env self,
arg0: bool
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder"
pub fn setUsesChronometer<'env>(
&'env self,
arg0: bool
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder"
pub fn setChronometerCountDown<'env>(
&'env self,
arg0: bool
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder"
pub fn setSmallIcon_int<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder"
pub fn setSmallIcon_int_int<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder"
pub fn setSmallIcon_Icon<'env>(
&'env self,
arg0: impl Into<Option<&'env Icon>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Icon>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder", "android-graphics-drawable-Icon"
pub fn setContentTitle<'env>(
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder", "java-lang-CharSequence"
pub fn setContentText<'env>(
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder", "java-lang-CharSequence"
pub fn setSubText<'env>(
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder", "java-lang-CharSequence"
pub fn setSettingsText<'env>(
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder", "java-lang-CharSequence"
pub fn setRemoteInputHistory<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<CharSequence, Throwable>>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<CharSequence, Throwable>>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder", "java-lang-CharSequence"
pub fn setNumber<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder"
pub fn setContentInfo<'env>(
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder", "java-lang-CharSequence"
pub fn setProgress<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: bool
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: bool
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder"
pub fn setContent<'env>(
&'env self,
arg0: impl Into<Option<&'env RemoteViews>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env RemoteViews>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder", "android-widget-RemoteViews"
pub fn setCustomContentView<'env>(
&'env self,
arg0: impl Into<Option<&'env RemoteViews>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env RemoteViews>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder", "android-widget-RemoteViews"
pub fn setCustomBigContentView<'env>(
&'env self,
arg0: impl Into<Option<&'env RemoteViews>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env RemoteViews>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder", "android-widget-RemoteViews"
pub fn setCustomHeadsUpContentView<'env>(
&'env self,
arg0: impl Into<Option<&'env RemoteViews>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env RemoteViews>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder", "android-widget-RemoteViews"
pub fn setContentIntent<'env>(
&'env self,
arg0: impl Into<Option<&'env PendingIntent>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env PendingIntent>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder", "android-app-PendingIntent"
pub fn setDeleteIntent<'env>(
&'env self,
arg0: impl Into<Option<&'env PendingIntent>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env PendingIntent>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder", "android-app-PendingIntent"
pub fn setFullScreenIntent<'env>(
&'env self,
arg0: impl Into<Option<&'env PendingIntent>>,
arg1: bool
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env PendingIntent>>,
arg1: bool
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder", "android-app-PendingIntent"
pub fn setTicker_CharSequence<'env>(
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder", "java-lang-CharSequence"
pub fn setTicker_CharSequence_RemoteViews<'env>(
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: impl Into<Option<&'env RemoteViews>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: impl Into<Option<&'env RemoteViews>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder", "android-widget-RemoteViews", "java-lang-CharSequence"
pub fn setLargeIcon_Bitmap<'env>(
&'env self,
arg0: impl Into<Option<&'env Bitmap>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Bitmap>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder", "android-graphics-Bitmap"
pub fn setLargeIcon_Icon<'env>(
&'env self,
arg0: impl Into<Option<&'env Icon>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Icon>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder", "android-graphics-drawable-Icon"
pub fn setSound_Uri<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder", "android-net-Uri"
pub fn setSound_Uri_int<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder", "android-net-Uri"
pub fn setSound_Uri_AudioAttributes<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env AudioAttributes>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env AudioAttributes>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder", "android-media-AudioAttributes", "android-net-Uri"
pub fn setVibrate<'env>(
&'env self,
arg0: impl Into<Option<&'env LongArray>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env LongArray>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder"
pub fn setLights<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder"
pub fn setOngoing<'env>(
&'env self,
arg0: bool
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder"
pub fn setColorized<'env>(
&'env self,
arg0: bool
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder"
pub fn setOnlyAlertOnce<'env>(
&'env self,
arg0: bool
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder"
pub fn setAutoCancel<'env>(
&'env self,
arg0: bool
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder"
pub fn setLocalOnly<'env>(
&'env self,
arg0: bool
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder"
pub fn setDefaults<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder"
pub fn setPriority<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder"
pub fn setCategory<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder", "java-lang-String"
pub fn addPerson_String<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder", "java-lang-String"
pub fn addPerson_Person<'env>(
&'env self,
arg0: impl Into<Option<&'env Person>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Person>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder", "android-app-Person"
pub fn setGroup<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder", "java-lang-String"
pub fn setGroupSummary<'env>(
&'env self,
arg0: bool
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder"
pub fn setSortKey<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder", "java-lang-String"
pub fn addExtras<'env>(
&'env self,
arg0: impl Into<Option<&'env Bundle>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Bundle>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder", "android-os-Bundle"
pub fn setExtras<'env>(
&'env self,
arg0: impl Into<Option<&'env Bundle>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Bundle>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder", "android-os-Bundle"
pub fn getExtras<'env>(
&'env self
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
Required features: "android-os-Bundle"
pub fn addAction_int_CharSequence_PendingIntent<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env CharSequence>>,
arg2: impl Into<Option<&'env PendingIntent>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env CharSequence>>,
arg2: impl Into<Option<&'env PendingIntent>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder", "android-app-PendingIntent", "java-lang-CharSequence"
pub fn addAction_Action<'env>(
&'env self,
arg0: impl Into<Option<&'env Notification_Action>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Notification_Action>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Action", "android-app-Notification_Builder"
pub fn setActions<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<Notification_Action, Throwable>>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<Notification_Action, Throwable>>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Action", "android-app-Notification_Builder"
pub fn setStyle<'env>(
&'env self,
arg0: impl Into<Option<&'env Notification_Style>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Notification_Style>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder", "android-app-Notification_Style"
pub fn getStyle<'env>(
&'env self
) -> Result<Option<Local<'env, Notification_Style>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Notification_Style>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Style"
pub fn setVisibility<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder"
pub fn setPublicVersion<'env>(
&'env self,
arg0: impl Into<Option<&'env Notification>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Notification>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification", "android-app-Notification_Builder"
pub fn extend<'env>(
&'env self,
arg0: impl Into<Option<&'env Notification_Extender>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Notification_Extender>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder", "android-app-Notification_Extender"
pub fn setColor<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder"
pub fn createContentView<'env>(
&'env self
) -> Result<Option<Local<'env, RemoteViews>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, RemoteViews>>, Local<'env, Throwable>>
Required features: "android-widget-RemoteViews"
pub fn createBigContentView<'env>(
&'env self
) -> Result<Option<Local<'env, RemoteViews>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, RemoteViews>>, Local<'env, Throwable>>
Required features: "android-widget-RemoteViews"
pub fn createHeadsUpContentView<'env>(
&'env self
) -> Result<Option<Local<'env, RemoteViews>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, RemoteViews>>, Local<'env, Throwable>>
Required features: "android-widget-RemoteViews"
pub fn recoverBuilder<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env Notification>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env Notification>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification", "android-app-Notification_Builder", "android-content-Context"
pub fn getNotification<'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"
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"
Methods from Deref<Target = Object>
pub fn getClass<'env>(
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Trait Implementations
impl AsJValue for Notification_Builder
impl AsValidJObjectAndEnv for Notification_Builder
impl Deref for Notification_Builder
impl JniType for Notification_Builder
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for Notification_Builder
impl !Send for Notification_Builder
impl !Sync for Notification_Builder
impl Unpin for Notification_Builder
impl UnwindSafe for Notification_Builder
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>,