[]Struct jni_android_sys::android::app::Notification_WearableExtender

#[repr(transparent)]
pub struct 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]

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

WearableExtender

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]

extend

Required features: "android-app-Notification_Builder"

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

clone

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]

addAction

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]

addActions

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]

clearActions

Required features: "android-app-Notification_WearableExtender"

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

getActions

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]

setDisplayIntent

Required features: "android-app-Notification_WearableExtender", "android-app-PendingIntent"

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

getDisplayIntent

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]

addPage

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]

addPages

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]

clearPages

Required features: "android-app-Notification_WearableExtender"

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

getPages

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]

setBackground

Required features: "android-app-Notification_WearableExtender", "android-graphics-Bitmap"

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

getBackground

Required features: "android-graphics-Bitmap"

pub fn setContentIcon<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
[src]

Deprecated

setContentIcon

Required features: "android-app-Notification_WearableExtender"

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

Deprecated

pub fn setContentIconGravity<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
[src]

Deprecated

setContentIconGravity

Required features: "android-app-Notification_WearableExtender"

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

Deprecated

pub fn setContentAction<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
[src]

setContentAction

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]

Deprecated

setGravity

Required features: "android-app-Notification_WearableExtender"

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

Deprecated

pub fn setCustomSizePreset<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
[src]

Deprecated

setCustomSizePreset

Required features: "android-app-Notification_WearableExtender"

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

Deprecated

pub fn setCustomContentHeight<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
[src]

Deprecated

setCustomContentHeight

Required features: "android-app-Notification_WearableExtender"

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

Deprecated

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

setStartScrollBottom

Required features: "android-app-Notification_WearableExtender"

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

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

setContentIntentAvailableOffline

Required features: "android-app-Notification_WearableExtender"

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

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

Deprecated

setHintHideIcon

Required features: "android-app-Notification_WearableExtender"

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

Deprecated

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

Deprecated

setHintShowBackgroundOnly

Required features: "android-app-Notification_WearableExtender"

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

Deprecated

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

Deprecated

setHintAvoidBackgroundClipping

Required features: "android-app-Notification_WearableExtender"

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

Deprecated

pub fn setHintScreenTimeout<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, Notification_WearableExtender>>, Local<'env, Throwable>>
[src]

Deprecated

setHintScreenTimeout

Required features: "android-app-Notification_WearableExtender"

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

Deprecated

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

setHintAmbientBigPicture

Required features: "android-app-Notification_WearableExtender"

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

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

setHintContentIntentLaunchesActivity

Required features: "android-app-Notification_WearableExtender"

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

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

setDismissalId

Required features: "android-app-Notification_WearableExtender", "java-lang-String"

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

getDismissalId

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]

setBridgeTag

Required features: "android-app-Notification_WearableExtender", "java-lang-String"

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

getBridgeTag

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]

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_WearableExtender

impl AsRef<Notification_Extender> for Notification_WearableExtender

impl AsValidJObjectAndEnv for Notification_WearableExtender

impl Deref for Notification_WearableExtender

type Target = Object

The resulting type after dereferencing.

impl JniType for Notification_WearableExtender

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.