[−]Struct jni_android_sys::android::widget::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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Local<'env, RemoteViews>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RemoteViews>>,
arg1: impl Into<Option<&'env RemoteViews>>
) -> Result<Local<'env, RemoteViews>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RemoteViews>>
) -> Result<Local<'env, RemoteViews>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Parcel>>
) -> Result<Local<'env, RemoteViews>, Local<'env, Throwable>>
Required features: "android-os-Parcel"
pub fn clone<'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 getPackage<'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 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]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env RemoteViews>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-widget-RemoteViews"
pub fn removeAllViews<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn showNext<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn showPrevious<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setDisplayedChild<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setViewVisibility<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setTextViewText<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-CharSequence"
pub fn setTextViewTextSize<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: f32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: f32
) -> Result<(), Local<'env, Throwable>>
pub fn setTextViewCompoundDrawables<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setTextViewCompoundDrawablesRelative<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setImageViewResource<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setImageViewUri<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Uri>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Uri>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-net-Uri"
pub fn setImageViewBitmap<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Bitmap>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Bitmap>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-Bitmap"
pub fn setImageViewIcon<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Icon>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Icon>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-drawable-Icon"
pub fn setEmptyView<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setChronometer<'env>(
&'env self,
arg0: i32,
arg1: i64,
arg2: impl Into<Option<&'env String>>,
arg3: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i64,
arg2: impl Into<Option<&'env String>>,
arg3: bool
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn setChronometerCountDown<'env>(
&'env self,
arg0: i32,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
pub fn setProgressBar<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: bool
) -> Result<(), Local<'env, Throwable>>
pub fn setOnClickPendingIntent<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env PendingIntent>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env PendingIntent>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-app-PendingIntent"
pub fn setPendingIntentTemplate<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env PendingIntent>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env PendingIntent>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-app-PendingIntent"
pub fn setOnClickFillInIntent<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Intent>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Intent>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Intent"
pub fn setTextColor<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setRemoteAdapter_int_int_Intent<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env Intent>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env Intent>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Intent>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Intent"
pub fn setScrollPosition<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setRelativeScrollPosition<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setViewPadding<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setBoolean<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: bool
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: i8
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: i16
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: i64
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: f32
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: f64
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: jchar
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Uri>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bitmap>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Intent>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Icon>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-CharSequence"
pub fn setAccessibilityTraversalBefore<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setAccessibilityTraversalAfter<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setLabelFor<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env ViewGroup>>
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Class>>
) -> Result<bool, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Parcel>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
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]
&'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 RemoteViews
impl AsRef<LayoutInflater_Filter> for RemoteViews
fn as_ref(&self) -> &LayoutInflater_Filter
impl AsRef<Parcelable> for RemoteViews
fn as_ref(&self) -> &Parcelable
impl AsValidJObjectAndEnv for RemoteViews
impl Deref for RemoteViews
impl JniType for RemoteViews
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for RemoteViews
impl !Send for RemoteViews
impl !Sync for RemoteViews
impl Unpin for RemoteViews
impl UnwindSafe for RemoteViews
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>,