[−]Struct jni_android_sys::android::app::Notification_WearableExtender
public final class Notification.WearableExtender
Required feature: "android-app-Notification_WearableExtender"
Methods
impl Notification_WearableExtender
pub fn new<'env>(
__jni_env: &'env Env
) -> Result<Local<'env, Notification_WearableExtender>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Local<'env, Notification_WearableExtender>, Local<'env, Throwable>>
pub fn new_Notification<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Notification>>
) -> Result<Local<'env, Notification_WearableExtender>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Notification>>
) -> Result<Local<'env, Notification_WearableExtender>, Local<'env, Throwable>>
Required features: "android-app-Notification"
pub fn extend<'env>(
&'env self,
arg0: impl Into<Option<&'env Notification_Builder>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Notification_Builder>>
) -> Result<Option<Local<'env, Notification_Builder>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Builder"
pub fn clone<'env>(
&'env self
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
Required features: "android-app-Notification_WearableExtender"
pub fn addAction<'env>(
&'env self,
arg0: impl Into<Option<&'env Notification_Action>>
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Notification_Action>>
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
Required features: "android-app-Notification_Action", "android-app-Notification_WearableExtender"
pub fn addActions<'env>(
&'env self,
arg0: impl Into<Option<&'env List>>
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env List>>
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
Required features: "android-app-Notification_WearableExtender", "java-util-List"
pub fn clearActions<'env>(
&'env self
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
Required features: "android-app-Notification_WearableExtender"
pub fn getActions<'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 setDisplayIntent<'env>(
&'env self,
arg0: impl Into<Option<&'env PendingIntent>>
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env PendingIntent>>
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
Required features: "android-app-Notification_WearableExtender", "android-app-PendingIntent"
pub fn getDisplayIntent<'env>(
&'env self
) -> Result<Option<Local<'env, PendingIntent>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, PendingIntent>>, Local<'env, Throwable>>
Required features: "android-app-PendingIntent"
pub fn addPage<'env>(
&'env self,
arg0: impl Into<Option<&'env Notification>>
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Notification>>
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
Required features: "android-app-Notification", "android-app-Notification_WearableExtender"
pub fn addPages<'env>(
&'env self,
arg0: impl Into<Option<&'env List>>
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env List>>
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
Required features: "android-app-Notification_WearableExtender", "java-util-List"
pub fn clearPages<'env>(
&'env self
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
Required features: "android-app-Notification_WearableExtender"
pub fn getPages<'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 setBackground<'env>(
&'env self,
arg0: impl Into<Option<&'env Bitmap>>
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Bitmap>>
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
Required features: "android-app-Notification_WearableExtender", "android-graphics-Bitmap"
pub fn getBackground<'env>(
&'env self
) -> Result<Option<Local<'env, Bitmap>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Bitmap>>, Local<'env, Throwable>>
Required features: "android-graphics-Bitmap"
pub fn setContentIcon<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
Required features: "android-app-Notification_WearableExtender"
pub fn getContentIcon<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn setContentIconGravity<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
Required features: "android-app-Notification_WearableExtender"
pub fn getContentIconGravity<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn setContentAction<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
Required features: "android-app-Notification_WearableExtender"
pub fn getContentAction<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn setGravity<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
Required features: "android-app-Notification_WearableExtender"
pub fn getGravity<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn setCustomSizePreset<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
Required features: "android-app-Notification_WearableExtender"
pub fn getCustomSizePreset<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn setCustomContentHeight<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
Required features: "android-app-Notification_WearableExtender"
pub fn getCustomContentHeight<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn setStartScrollBottom<'env>(
&'env self,
arg0: bool
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
Required features: "android-app-Notification_WearableExtender"
pub fn getStartScrollBottom<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setContentIntentAvailableOffline<'env>(
&'env self,
arg0: bool
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
setContentIntentAvailableOffline
Required features: "android-app-Notification_WearableExtender"
pub fn getContentIntentAvailableOffline<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setHintHideIcon<'env>(
&'env self,
arg0: bool
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
Required features: "android-app-Notification_WearableExtender"
pub fn getHintHideIcon<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn setHintShowBackgroundOnly<'env>(
&'env self,
arg0: bool
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
Required features: "android-app-Notification_WearableExtender"
pub fn getHintShowBackgroundOnly<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setHintAvoidBackgroundClipping<'env>(
&'env self,
arg0: bool
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
setHintAvoidBackgroundClipping
Required features: "android-app-Notification_WearableExtender"
pub fn getHintAvoidBackgroundClipping<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setHintScreenTimeout<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
Required features: "android-app-Notification_WearableExtender"
pub fn getHintScreenTimeout<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn setHintAmbientBigPicture<'env>(
&'env self,
arg0: bool
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
Required features: "android-app-Notification_WearableExtender"
pub fn getHintAmbientBigPicture<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setHintContentIntentLaunchesActivity<'env>(
&'env self,
arg0: bool
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
setHintContentIntentLaunchesActivity
Required features: "android-app-Notification_WearableExtender"
pub fn getHintContentIntentLaunchesActivity<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setDismissalId<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
Required features: "android-app-Notification_WearableExtender", "java-lang-String"
pub fn getDismissalId<'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 setBridgeTag<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
Required features: "android-app-Notification_WearableExtender", "java-lang-String"
pub fn getBridgeTag<'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 const SCREEN_TIMEOUT_LONG: i32
[src]
public static final SCREEN_TIMEOUT_LONG
pub const SCREEN_TIMEOUT_SHORT: i32
[src]
public static final SCREEN_TIMEOUT_SHORT
pub const SIZE_DEFAULT: i32
[src]
public static final SIZE_DEFAULT
pub const SIZE_FULL_SCREEN: i32
[src]
public static final SIZE_FULL_SCREEN
pub const SIZE_LARGE: i32
[src]
public static final SIZE_LARGE
pub const SIZE_MEDIUM: i32
[src]
public static final SIZE_MEDIUM
pub const SIZE_SMALL: i32
[src]
public static final SIZE_SMALL
pub const SIZE_XSMALL: i32
[src]
public static final SIZE_XSMALL
pub const UNSET_ACTION_INDEX: i32
[src]
public static final UNSET_ACTION_INDEX
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_WearableExtender
impl AsRef<Notification_Extender> for Notification_WearableExtender
fn as_ref(&self) -> &Notification_Extender
impl AsValidJObjectAndEnv for Notification_WearableExtender
impl Deref for Notification_WearableExtender
impl JniType for Notification_WearableExtender
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for Notification_WearableExtender
impl !Send for Notification_WearableExtender
impl !Sync for Notification_WearableExtender
impl Unpin for Notification_WearableExtender
impl UnwindSafe for Notification_WearableExtender
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>,