[−]Struct jni_android_sys::android::appwidget::AppWidgetProviderInfo
public class AppWidgetProviderInfo
Required feature: android-appwidget-AppWidgetProviderInfo
Methods
impl AppWidgetProviderInfo
pub fn new<'env>(
__jni_env: &'env Env
) -> Result<Local<'env, AppWidgetProviderInfo>>[src]
__jni_env: &'env Env
) -> Result<Local<'env, AppWidgetProviderInfo>>
pub fn new_parcel<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Parcel>>
) -> Result<Local<'env, AppWidgetProviderInfo>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Parcel>>
) -> Result<Local<'env, AppWidgetProviderInfo>>
Required features: "android-os-Parcel"
pub fn load_label<'env>(
&'env self,
arg0: impl Into<Option<&'env PackageManager>>
) -> Result<Option<Local<'env, String>>>[src]
&'env self,
arg0: impl Into<Option<&'env PackageManager>>
) -> Result<Option<Local<'env, String>>>
Required features: "android-content-pm-PackageManager", "java-lang-String"
pub fn load_icon<'env>(
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: i32
) -> Result<Option<Local<'env, Drawable>>>[src]
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: i32
) -> Result<Option<Local<'env, Drawable>>>
Required features: "android-content-Context", "android-graphics-drawable-Drawable"
pub fn load_preview_image<'env>(
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: i32
) -> Result<Option<Local<'env, Drawable>>>[src]
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: i32
) -> Result<Option<Local<'env, Drawable>>>
Required features: "android-content-Context", "android-graphics-drawable-Drawable"
pub fn get_profile<'env>(&'env self) -> Result<Option<Local<'env, UserHandle>>>[src]
Required features: "android-os-UserHandle"
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"
pub fn clone<'env>(
&'env self
) -> Result<Option<Local<'env, AppWidgetProviderInfo>>>[src]
&'env self
) -> Result<Option<Local<'env, AppWidgetProviderInfo>>>
Required features: "android-appwidget-AppWidgetProviderInfo"
pub fn describe_contents<'env>(&'env self) -> Result<i32>[src]
pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
Required features: "java-lang-String"
pub const RESIZE_BOTH: i32[src]
public static final RESIZE_BOTH
pub const RESIZE_HORIZONTAL: i32[src]
public static final RESIZE_HORIZONTAL
pub const RESIZE_NONE: i32[src]
public static final RESIZE_NONE
pub const RESIZE_VERTICAL: i32[src]
public static final RESIZE_VERTICAL
pub const WIDGET_CATEGORY_HOME_SCREEN: i32[src]
public static final WIDGET_CATEGORY_HOME_SCREEN
pub const WIDGET_CATEGORY_KEYGUARD: i32[src]
public static final WIDGET_CATEGORY_KEYGUARD
pub const WIDGET_CATEGORY_SEARCHBOX: i32[src]
public static final WIDGET_CATEGORY_SEARCHBOX
pub const WIDGET_FEATURE_HIDE_FROM_PICKER: i32[src]
public static final WIDGET_FEATURE_HIDE_FROM_PICKER
pub const WIDGET_FEATURE_RECONFIGURABLE: i32[src]
public static final WIDGET_FEATURE_RECONFIGURABLE
pub fn auto_advance_view_id<'env>(&'env self) -> i32[src]
get public autoAdvanceViewId
pub fn set_auto_advance_view_id<'env>(&'env self, value: i32)[src]
set public autoAdvanceViewId
pub fn icon<'env>(&'env self) -> i32[src]
get public icon
pub fn set_icon<'env>(&'env self, value: i32)[src]
set public icon
pub fn initial_keyguard_layout<'env>(&'env self) -> i32[src]
get public initialKeyguardLayout
pub fn set_initial_keyguard_layout<'env>(&'env self, value: i32)[src]
set public initialKeyguardLayout
pub fn initial_layout<'env>(&'env self) -> i32[src]
get public initialLayout
pub fn set_initial_layout<'env>(&'env self, value: i32)[src]
set public initialLayout
pub fn min_height<'env>(&'env self) -> i32[src]
get public minHeight
pub fn set_min_height<'env>(&'env self, value: i32)[src]
set public minHeight
pub fn min_resize_height<'env>(&'env self) -> i32[src]
get public minResizeHeight
pub fn set_min_resize_height<'env>(&'env self, value: i32)[src]
set public minResizeHeight
pub fn min_resize_width<'env>(&'env self) -> i32[src]
get public minResizeWidth
pub fn set_min_resize_width<'env>(&'env self, value: i32)[src]
set public minResizeWidth
pub fn min_width<'env>(&'env self) -> i32[src]
get public minWidth
pub fn set_min_width<'env>(&'env self, value: i32)[src]
set public minWidth
pub fn preview_image<'env>(&'env self) -> i32[src]
get public previewImage
pub fn set_preview_image<'env>(&'env self, value: i32)[src]
set public previewImage
pub fn resize_mode<'env>(&'env self) -> i32[src]
get public resizeMode
pub fn set_resize_mode<'env>(&'env self, value: i32)[src]
set public resizeMode
pub fn update_period_millis<'env>(&'env self) -> i32[src]
get public updatePeriodMillis
pub fn set_update_period_millis<'env>(&'env self, value: i32)[src]
set public updatePeriodMillis
pub fn widget_category<'env>(&'env self) -> i32[src]
get public widgetCategory
pub fn set_widget_category<'env>(&'env self, value: i32)[src]
set public widgetCategory
pub fn widget_features<'env>(&'env self) -> i32[src]
get public widgetFeatures
pub fn set_widget_features<'env>(&'env self, value: i32)[src]
set public widgetFeatures
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 AppWidgetProviderInfo
fn as_ref(&self) -> &Parcelable
impl Deref for AppWidgetProviderInfo
impl AsValidJObjectAndEnv for AppWidgetProviderInfo
impl AsJValue for AppWidgetProviderInfo
Auto Trait Implementations
impl !Sync for AppWidgetProviderInfo
impl Unpin for AppWidgetProviderInfo
impl !Send for AppWidgetProviderInfo
impl UnwindSafe for AppWidgetProviderInfo
impl RefUnwindSafe for AppWidgetProviderInfo
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,