[−]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>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Local<'env, AppWidgetProviderInfo>, Local<'env, Throwable>>
pub fn new_Parcel<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Parcel>>
) -> Result<Local<'env, AppWidgetProviderInfo>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Parcel>>
) -> Result<Local<'env, AppWidgetProviderInfo>, Local<'env, Throwable>>
Required features: "android-os-Parcel"
pub fn loadLabel<'env>(
&'env self,
arg0: impl Into<Option<&'env PackageManager>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env PackageManager>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "android-content-pm-PackageManager", "java-lang-String"
pub fn loadIcon<'env>(
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: i32
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: i32
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
Required features: "android-content-Context", "android-graphics-drawable-Drawable"
pub fn loadPreviewImage<'env>(
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: i32
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: i32
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
Required features: "android-content-Context", "android-graphics-drawable-Drawable"
pub fn getProfile<'env>(
&'env self
) -> Result<Option<Local<'env, UserHandle>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, UserHandle>>, Local<'env, Throwable>>
Required features: "android-os-UserHandle"
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 clone<'env>(
&'env self
) -> Result<Option<Local<'env, AppWidgetProviderInfo>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, AppWidgetProviderInfo>>, Local<'env, Throwable>>
Required features: "android-appwidget-AppWidgetProviderInfo"
pub fn describeContents<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
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 CREATOR<'env>(env: &'env Env) -> Option<Local<'env, Parcelable_Creator>>
[src]
get public static final CREATOR
Required feature: "android-os-Parcelable_Creator"
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 autoAdvanceViewId<'env>(&'env self) -> i32
[src]
get public autoAdvanceViewId
pub fn set_autoAdvanceViewId<'env>(&'env self, value: i32)
[src]
set public autoAdvanceViewId
pub fn configure<'env>(&'env self) -> Option<Local<'env, ComponentName>>
[src]
get public configure
Required feature: "android-content-ComponentName"
pub fn set_configure<'env, 'obj>(
&'env self,
value: impl Into<Option<&'obj ComponentName>>
)
[src]
&'env self,
value: impl Into<Option<&'obj ComponentName>>
)
set public configure
Required feature: "android-content-ComponentName"
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 initialKeyguardLayout<'env>(&'env self) -> i32
[src]
get public initialKeyguardLayout
pub fn set_initialKeyguardLayout<'env>(&'env self, value: i32)
[src]
set public initialKeyguardLayout
pub fn initialLayout<'env>(&'env self) -> i32
[src]
get public initialLayout
pub fn set_initialLayout<'env>(&'env self, value: i32)
[src]
set public initialLayout
pub fn label<'env>(&'env self) -> Option<Local<'env, String>>
[src]
get public label
Required feature: "java-lang-String"
pub fn set_label<'env, 'obj>(&'env self, value: impl Into<Option<&'obj String>>)
[src]
set public label
Required feature: "java-lang-String"
pub fn minHeight<'env>(&'env self) -> i32
[src]
get public minHeight
pub fn set_minHeight<'env>(&'env self, value: i32)
[src]
set public minHeight
pub fn minResizeHeight<'env>(&'env self) -> i32
[src]
get public minResizeHeight
pub fn set_minResizeHeight<'env>(&'env self, value: i32)
[src]
set public minResizeHeight
pub fn minResizeWidth<'env>(&'env self) -> i32
[src]
get public minResizeWidth
pub fn set_minResizeWidth<'env>(&'env self, value: i32)
[src]
set public minResizeWidth
pub fn minWidth<'env>(&'env self) -> i32
[src]
get public minWidth
pub fn set_minWidth<'env>(&'env self, value: i32)
[src]
set public minWidth
pub fn previewImage<'env>(&'env self) -> i32
[src]
get public previewImage
pub fn set_previewImage<'env>(&'env self, value: i32)
[src]
set public previewImage
pub fn provider<'env>(&'env self) -> Option<Local<'env, ComponentName>>
[src]
get public provider
Required feature: "android-content-ComponentName"
pub fn set_provider<'env, 'obj>(
&'env self,
value: impl Into<Option<&'obj ComponentName>>
)
[src]
&'env self,
value: impl Into<Option<&'obj ComponentName>>
)
set public provider
Required feature: "android-content-ComponentName"
pub fn resizeMode<'env>(&'env self) -> i32
[src]
get public resizeMode
pub fn set_resizeMode<'env>(&'env self, value: i32)
[src]
set public resizeMode
pub fn updatePeriodMillis<'env>(&'env self) -> i32
[src]
get public updatePeriodMillis
pub fn set_updatePeriodMillis<'env>(&'env self, value: i32)
[src]
set public updatePeriodMillis
pub fn widgetCategory<'env>(&'env self) -> i32
[src]
get public widgetCategory
pub fn set_widgetCategory<'env>(&'env self, value: i32)
[src]
set public widgetCategory
pub fn widgetFeatures<'env>(&'env self) -> i32
[src]
get public widgetFeatures
pub fn set_widgetFeatures<'env>(&'env self, value: i32)
[src]
set public widgetFeatures
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 AppWidgetProviderInfo
impl AsRef<Parcelable> for AppWidgetProviderInfo
fn as_ref(&self) -> &Parcelable
impl AsValidJObjectAndEnv for AppWidgetProviderInfo
impl Deref for AppWidgetProviderInfo
impl JniType for AppWidgetProviderInfo
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for AppWidgetProviderInfo
impl !Send for AppWidgetProviderInfo
impl !Sync for AppWidgetProviderInfo
impl Unpin for AppWidgetProviderInfo
impl UnwindSafe for AppWidgetProviderInfo
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>,