[]Struct jni_android_sys::android::app::Notification_MediaStyle

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

public class Notification.MediaStyle

Required feature: "android-app-Notification_MediaStyle"

Methods

impl Notification_MediaStyle

pub fn new<'env>(
    __jni_env: &'env Env
) -> Result<Local<'env, Notification_MediaStyle>, Local<'env, Throwable>>
[src]

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

Deprecated

MediaStyle

Required features: "android-app-Notification_Builder"

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

setShowActionsInCompactView

Required features: "android-app-Notification_MediaStyle"

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

setMediaSession

Required features: "android-app-Notification_MediaStyle", "android-media-session-MediaSession_Token"

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_MediaStyle

impl AsValidJObjectAndEnv for Notification_MediaStyle

impl Deref for Notification_MediaStyle

type Target = Notification_Style

The resulting type after dereferencing.

impl JniType for Notification_MediaStyle

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.