[]Struct jni_android_sys::android::appwidget::AppWidgetProviderInfo

#[repr(transparent)]
pub struct 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]

pub fn new_parcel<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Parcel>>
) -> Result<Local<'env, AppWidgetProviderInfo>>
[src]

Required features: "android-os-Parcel"

pub fn load_label<'env>(
    &'env self,
    arg0: impl Into<Option<&'env PackageManager>>
) -> Result<Option<Local<'env, String>>>
[src]

loadLabel

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]

loadIcon

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]

loadPreviewImage

Required features: "android-content-Context", "android-graphics-drawable-Drawable"

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

getProfile

Required features: "android-os-UserHandle"

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

writeToParcel

Required features: "android-os-Parcel"

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

clone

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]

toString

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

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]

pub fn set_initial_keyguard_layout<'env>(&'env self, value: i32)[src]

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]

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 AppWidgetProviderInfo

impl Deref for AppWidgetProviderInfo

type Target = Object

The resulting type after dereferencing.

impl AsValidJObjectAndEnv for AppWidgetProviderInfo

impl AsJValue for AppWidgetProviderInfo

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]