[]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>>
[src]

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]

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]

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]

Required features: "android-os-Parcel"

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

Deprecated

clone

Required features: "android-widget-RemoteViews"

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

getPackage

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]

addView

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]

setTextViewText

Required features: "java-lang-CharSequence"

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

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

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

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

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

setImageViewUri

Required features: "android-net-Uri"

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

setImageViewBitmap

Required features: "android-graphics-Bitmap"

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

setImageViewIcon

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]

setChronometer

Required features: "java-lang-String"

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

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

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

setOnClickPendingIntent

Required features: "android-app-PendingIntent"

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

setPendingIntentTemplate

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]

setOnClickFillInIntent

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]

Deprecated

setRemoteAdapter

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]

setRemoteAdapter

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]

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

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

setBoolean

Required features: "java-lang-String"

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

setByte

Required features: "java-lang-String"

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

setShort

Required features: "java-lang-String"

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

setInt

Required features: "java-lang-String"

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

setLong

Required features: "java-lang-String"

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

setFloat

Required features: "java-lang-String"

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

setDouble

Required features: "java-lang-String"

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

setChar

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]

setString

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]

setCharSequence

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]

setUri

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]

setBitmap

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]

setBundle

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]

setIntent

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]

setIcon

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]

setContentDescription

Required features: "java-lang-CharSequence"

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

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

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]

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<()>
[src]

reapply

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]

onLoadClass

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]

writeToParcel

Required features: "android-os-Parcel"

Methods from Deref<Target = Object>

pub fn get_class<'env>(&'env self) -> Result<Option<Local<'env, Class>>>[src]

getClass

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]

equals

Required features: "java-lang-Object"

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

toString

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

impl AsRef<LayoutInflater_Filter> for RemoteViews

impl Deref for RemoteViews

type Target = Object

The resulting type after dereferencing.

impl AsValidJObjectAndEnv for RemoteViews

impl AsJValue for RemoteViews

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for 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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]