[]Struct jni_android_sys::android::widget::RemoteViews

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

public class RemoteViews

Required feature: "android-widget-RemoteViews"

Methods

impl RemoteViews

pub fn new_String_int<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: i32
) -> Result<Local<'env, RemoteViews>, Local<'env, Throwable>>
[src]

RemoteViews

Required features: "java-lang-String"

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

RemoteViews

Required features: "android-widget-RemoteViews"

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

RemoteViews

Required features: "android-widget-RemoteViews"

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

RemoteViews

Required features: "android-os-Parcel"

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

Deprecated

clone

Required features: "android-widget-RemoteViews"

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

getPackage

Required features: "java-lang-String"

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

pub fn addView<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env RemoteViews>>
) -> Result<(), Local<'env, Throwable>>
[src]

addView

Required features: "android-widget-RemoteViews"

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

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

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

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

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

pub fn setTextViewText<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
[src]

setTextViewText

Required features: "java-lang-CharSequence"

pub fn setTextViewTextSize<'env>(
    &'env self,
    arg0: i32,
    arg1: i32,
    arg2: f32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setTextViewCompoundDrawables<'env>(
    &'env self,
    arg0: i32,
    arg1: i32,
    arg2: i32,
    arg3: i32,
    arg4: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setTextViewCompoundDrawablesRelative<'env>(
    &'env self,
    arg0: i32,
    arg1: i32,
    arg2: i32,
    arg3: i32,
    arg4: i32
) -> Result<(), Local<'env, Throwable>>
[src]

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

pub fn setImageViewUri<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env Uri>>
) -> Result<(), Local<'env, Throwable>>
[src]

setImageViewUri

Required features: "android-net-Uri"

pub fn setImageViewBitmap<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env Bitmap>>
) -> Result<(), Local<'env, Throwable>>
[src]

setImageViewBitmap

Required features: "android-graphics-Bitmap"

pub fn setImageViewIcon<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env Icon>>
) -> Result<(), Local<'env, Throwable>>
[src]

setImageViewIcon

Required features: "android-graphics-drawable-Icon"

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

pub fn setChronometer<'env>(
    &'env self,
    arg0: i32,
    arg1: i64,
    arg2: impl Into<Option<&'env String>>,
    arg3: bool
) -> Result<(), Local<'env, Throwable>>
[src]

setChronometer

Required features: "java-lang-String"

pub fn setChronometerCountDown<'env>(
    &'env self,
    arg0: i32,
    arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setProgressBar<'env>(
    &'env self,
    arg0: i32,
    arg1: i32,
    arg2: i32,
    arg3: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setOnClickPendingIntent<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env PendingIntent>>
) -> Result<(), Local<'env, Throwable>>
[src]

setOnClickPendingIntent

Required features: "android-app-PendingIntent"

pub fn setPendingIntentTemplate<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env PendingIntent>>
) -> Result<(), Local<'env, Throwable>>
[src]

setPendingIntentTemplate

Required features: "android-app-PendingIntent"

pub fn setOnClickFillInIntent<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env Intent>>
) -> Result<(), Local<'env, Throwable>>
[src]

setOnClickFillInIntent

Required features: "android-content-Intent"

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

pub fn setRemoteAdapter_int_int_Intent<'env>(
    &'env self,
    arg0: i32,
    arg1: i32,
    arg2: impl Into<Option<&'env Intent>>
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

setRemoteAdapter

Required features: "android-content-Intent"

pub fn setRemoteAdapter_int_Intent<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env Intent>>
) -> Result<(), Local<'env, Throwable>>
[src]

setRemoteAdapter

Required features: "android-content-Intent"

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

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

pub fn setViewPadding<'env>(
    &'env self,
    arg0: i32,
    arg1: i32,
    arg2: i32,
    arg3: i32,
    arg4: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setBoolean<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env String>>,
    arg2: bool
) -> Result<(), Local<'env, Throwable>>
[src]

setBoolean

Required features: "java-lang-String"

pub fn setByte<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env String>>,
    arg2: i8
) -> Result<(), Local<'env, Throwable>>
[src]

setByte

Required features: "java-lang-String"

pub fn setShort<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env String>>,
    arg2: i16
) -> Result<(), Local<'env, Throwable>>
[src]

setShort

Required features: "java-lang-String"

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

setInt

Required features: "java-lang-String"

pub fn setLong<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env String>>,
    arg2: i64
) -> Result<(), Local<'env, Throwable>>
[src]

setLong

Required features: "java-lang-String"

pub fn setFloat<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env String>>,
    arg2: f32
) -> Result<(), Local<'env, Throwable>>
[src]

setFloat

Required features: "java-lang-String"

pub fn setDouble<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env String>>,
    arg2: f64
) -> Result<(), Local<'env, Throwable>>
[src]

setDouble

Required features: "java-lang-String"

pub fn setChar<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env String>>,
    arg2: jchar
) -> Result<(), Local<'env, Throwable>>
[src]

setChar

Required features: "java-lang-String"

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

setString

Required features: "java-lang-String"

pub fn setCharSequence<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
[src]

setCharSequence

Required features: "java-lang-CharSequence", "java-lang-String"

pub fn setUri<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env Uri>>
) -> Result<(), Local<'env, Throwable>>
[src]

setUri

Required features: "android-net-Uri", "java-lang-String"

pub fn setBitmap<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env Bitmap>>
) -> Result<(), Local<'env, Throwable>>
[src]

setBitmap

Required features: "android-graphics-Bitmap", "java-lang-String"

pub fn setBundle<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]

setBundle

Required features: "android-os-Bundle", "java-lang-String"

pub fn setIntent<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env Intent>>
) -> Result<(), Local<'env, Throwable>>
[src]

setIntent

Required features: "android-content-Intent", "java-lang-String"

pub fn setIcon<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env Icon>>
) -> Result<(), Local<'env, Throwable>>
[src]

setIcon

Required features: "android-graphics-drawable-Icon", "java-lang-String"

pub fn setContentDescription<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
[src]

setContentDescription

Required features: "java-lang-CharSequence"

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

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

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

pub fn apply<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Context>>,
    arg1: impl Into<Option<&'env ViewGroup>>
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
[src]

apply

Required features: "android-content-Context", "android-view-View", "android-view-ViewGroup"

pub fn reapply<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Context>>,
    arg1: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
[src]

reapply

Required features: "android-content-Context", "android-view-View"

pub fn onLoadClass<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Class>>
) -> Result<bool, Local<'env, Throwable>>
[src]

onLoadClass

Required features: "java-lang-Class"

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

pub fn writeToParcel<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Parcel>>,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

writeToParcel

Required features: "android-os-Parcel"

pub fn CREATOR<'env>(env: &'env Env) -> Option<Local<'env, Parcelable_Creator>>[src]

get public static final CREATOR

Required feature: "android-os-Parcelable_Creator"

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 RemoteViews

impl AsRef<LayoutInflater_Filter> for RemoteViews

impl AsRef<Parcelable> for RemoteViews

impl AsValidJObjectAndEnv for RemoteViews

impl Deref for RemoteViews

type Target = Object

The resulting type after dereferencing.

impl JniType for RemoteViews

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.