[−]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>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Local<'env, RemoteViews>>
Required features: "java-lang-String"
pub fn new_remote_views_remote_views<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RemoteViews>>,
arg1: impl Into<Option<&'env RemoteViews>>
) -> Result<Local<'env, RemoteViews>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RemoteViews>>,
arg1: impl Into<Option<&'env RemoteViews>>
) -> Result<Local<'env, RemoteViews>>
Required features: "android-widget-RemoteViews"
pub fn new_remote_views<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RemoteViews>>
) -> Result<Local<'env, RemoteViews>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env RemoteViews>>
) -> Result<Local<'env, 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>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Parcel>>
) -> Result<Local<'env, RemoteViews>>
Required features: "android-os-Parcel"
pub fn clone<'env>(&'env self) -> Result<Option<Local<'env, RemoteViews>>>[src]
Required features: "android-widget-RemoteViews"
pub fn get_package<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
Required features: "java-lang-String"
pub fn get_layout_id<'env>(&'env self) -> Result<i32>[src]
pub fn add_view<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env RemoteViews>>
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env RemoteViews>>
) -> Result<()>
Required features: "android-widget-RemoteViews"
pub fn remove_all_views<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn show_next<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn show_previous<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn set_displayed_child<'env>(&'env self, arg0: i32, arg1: i32) -> Result<()>[src]
pub fn set_view_visibility<'env>(&'env self, arg0: i32, arg1: i32) -> Result<()>[src]
pub fn set_text_view_text<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env CharSequence>>
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env CharSequence>>
) -> Result<()>
Required features: "java-lang-CharSequence"
pub fn set_text_view_text_size<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: f32
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: f32
) -> Result<()>
pub fn set_text_view_compound_drawables<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: i32
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: i32
) -> Result<()>
pub fn set_text_view_compound_drawables_relative<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: i32
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: i32
) -> Result<()>
pub fn set_image_view_resource<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<()>
pub fn set_image_view_uri<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Uri>>
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Uri>>
) -> Result<()>
Required features: "android-net-Uri"
pub fn set_image_view_bitmap<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Bitmap>>
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Bitmap>>
) -> Result<()>
Required features: "android-graphics-Bitmap"
pub fn set_image_view_icon<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Icon>>
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Icon>>
) -> Result<()>
Required features: "android-graphics-drawable-Icon"
pub fn set_empty_view<'env>(&'env self, arg0: i32, arg1: i32) -> Result<()>[src]
pub fn set_chronometer<'env>(
&'env self,
arg0: i32,
arg1: i64,
arg2: impl Into<Option<&'env String>>,
arg3: bool
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: i64,
arg2: impl Into<Option<&'env String>>,
arg3: bool
) -> Result<()>
Required features: "java-lang-String"
pub fn set_chronometer_count_down<'env>(
&'env self,
arg0: i32,
arg1: bool
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: bool
) -> Result<()>
pub fn set_progress_bar<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: bool
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: bool
) -> Result<()>
pub fn set_on_click_pending_intent<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env PendingIntent>>
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env PendingIntent>>
) -> Result<()>
Required features: "android-app-PendingIntent"
pub fn set_pending_intent_template<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env PendingIntent>>
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env PendingIntent>>
) -> Result<()>
Required features: "android-app-PendingIntent"
pub fn set_on_click_fill_in_intent<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Intent>>
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Intent>>
) -> Result<()>
Required features: "android-content-Intent"
pub fn set_text_color<'env>(&'env self, arg0: i32, arg1: i32) -> Result<()>[src]
pub fn set_remote_adapter_int_int_intent<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env Intent>>
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env Intent>>
) -> Result<()>
Required features: "android-content-Intent"
pub fn set_remote_adapter_int_intent<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Intent>>
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Intent>>
) -> Result<()>
Required features: "android-content-Intent"
pub fn set_scroll_position<'env>(&'env self, arg0: i32, arg1: i32) -> Result<()>[src]
pub fn set_relative_scroll_position<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<()>
pub fn set_view_padding<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: i32
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: i32
) -> Result<()>
pub fn set_boolean<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: bool
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: bool
) -> Result<()>
Required features: "java-lang-String"
pub fn set_byte<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: i8
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: i8
) -> Result<()>
Required features: "java-lang-String"
pub fn set_short<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: i16
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: i16
) -> Result<()>
Required features: "java-lang-String"
pub fn set_int<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: i32
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: i32
) -> Result<()>
Required features: "java-lang-String"
pub fn set_long<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: i64
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: i64
) -> Result<()>
Required features: "java-lang-String"
pub fn set_float<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: f32
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: f32
) -> Result<()>
Required features: "java-lang-String"
pub fn set_double<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: f64
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: f64
) -> Result<()>
Required features: "java-lang-String"
pub fn set_char<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: jchar
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: jchar
) -> Result<()>
Required features: "java-lang-String"
pub fn set_string<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "java-lang-String"
pub fn set_char_sequence<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env CharSequence>>
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env CharSequence>>
) -> Result<()>
Required features: "java-lang-CharSequence", "java-lang-String"
pub fn set_uri<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Uri>>
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Uri>>
) -> Result<()>
Required features: "android-net-Uri", "java-lang-String"
pub fn set_bitmap<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bitmap>>
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bitmap>>
) -> Result<()>
Required features: "android-graphics-Bitmap", "java-lang-String"
pub fn set_bundle<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<()>
Required features: "android-os-Bundle", "java-lang-String"
pub fn set_intent<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Intent>>
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Intent>>
) -> Result<()>
Required features: "android-content-Intent", "java-lang-String"
pub fn set_icon<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Icon>>
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Icon>>
) -> Result<()>
Required features: "android-graphics-drawable-Icon", "java-lang-String"
pub fn set_content_description<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env CharSequence>>
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env CharSequence>>
) -> Result<()>
Required features: "java-lang-CharSequence"
pub fn set_accessibility_traversal_before<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<()>
pub fn set_accessibility_traversal_after<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<()>
pub fn set_label_for<'env>(&'env self, arg0: i32, arg1: i32) -> Result<()>[src]
pub fn apply<'env>(
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env ViewGroup>>
) -> Result<Option<Local<'env, View>>>[src]
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env ViewGroup>>
) -> Result<Option<Local<'env, View>>>
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<()>[src]
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env View>>
) -> Result<()>
Required features: "android-content-Context", "android-view-View"
pub fn on_load_class<'env>(
&'env self,
arg0: impl Into<Option<&'env Class>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Class>>
) -> Result<bool>
Required features: "java-lang-Class"
pub fn describe_contents<'env>(&'env self) -> Result<i32>[src]
pub fn write_to_parcel<'env>(
&'env self,
arg0: impl Into<Option<&'env Parcel>>,
arg1: i32
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Parcel>>,
arg1: i32
) -> Result<()>
Required features: "android-os-Parcel"
Methods from Deref<Target = Object>
pub fn get_class<'env>(&'env self) -> Result<Option<Local<'env, Class>>>[src]
Required features: "java-lang-Class"
pub fn hash_code<'env>(&'env self) -> Result<i32>[src]
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
Required features: "java-lang-Object"
pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
Required features: "java-lang-String"
pub fn notify<'env>(&'env self) -> Result<()>[src]
pub fn notify_all<'env>(&'env self) -> Result<()>[src]
pub fn wait_long<'env>(&'env self, arg0: i64) -> Result<()>[src]
pub fn wait_long_int<'env>(&'env self, arg0: i64, arg1: i32) -> Result<()>[src]
pub fn wait<'env>(&'env self) -> Result<()>[src]
Trait Implementations
impl AsRef<Parcelable> for RemoteViews
fn as_ref(&self) -> &Parcelable
impl AsRef<LayoutInflater_Filter> for RemoteViews
fn as_ref(&self) -> &LayoutInflater_Filter
impl Deref for RemoteViews
impl AsValidJObjectAndEnv for RemoteViews
impl AsJValue for RemoteViews
Auto Trait Implementations
impl !Sync for RemoteViews
impl Unpin for RemoteViews
impl !Send for RemoteViews
impl UnwindSafe for RemoteViews
impl RefUnwindSafe for RemoteViews
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
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> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,