[−]Struct jni_android_sys::android::appwidget::AppWidgetHostView
public class AppWidgetHostView
Required feature: "android-appwidget-AppWidgetHostView"
Methods
impl AppWidgetHostView
pub fn new_Context<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, AppWidgetHostView>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, AppWidgetHostView>, Local<'env, Throwable>>
Required features: "android-content-Context"
pub fn new_Context_int_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: i32
) -> Result<Local<'env, AppWidgetHostView>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: i32
) -> Result<Local<'env, AppWidgetHostView>, Local<'env, Throwable>>
Required features: "android-content-Context"
pub fn setAppWidget<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env AppWidgetProviderInfo>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env AppWidgetProviderInfo>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-appwidget-AppWidgetProviderInfo"
pub fn getDefaultPaddingForWidget<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env ComponentName>>,
arg2: impl Into<Option<&'env Rect>>
) -> Result<Option<Local<'env, Rect>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env ComponentName>>,
arg2: impl Into<Option<&'env Rect>>
) -> Result<Option<Local<'env, Rect>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "android-content-Context", "android-graphics-Rect"
pub fn getAppWidgetId<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn getAppWidgetInfo<'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 updateAppWidgetSize<'env>(
&'env self,
arg0: impl Into<Option<&'env Bundle>>,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Bundle>>,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Bundle"
pub fn updateAppWidgetOptions<'env>(
&'env self,
arg0: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Bundle"
pub fn generateLayoutParams_AttributeSet<'env>(
&'env self,
arg0: impl Into<Option<&'env AttributeSet>>
) -> Result<Option<Local<'env, FrameLayout_LayoutParams>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env AttributeSet>>
) -> Result<Option<Local<'env, FrameLayout_LayoutParams>>, Local<'env, Throwable>>
Required features: "android-util-AttributeSet", "android-widget-FrameLayout_LayoutParams"
pub fn setExecutor<'env>(
&'env self,
arg0: impl Into<Option<&'env Executor>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Executor>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-util-concurrent-Executor"
pub fn updateAppWidget<'env>(
&'env self,
arg0: impl Into<Option<&'env RemoteViews>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env RemoteViews>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-widget-RemoteViews"
Methods from Deref<Target = FrameLayout>
pub fn setForegroundGravity<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setMeasureAllChildren<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getConsiderGoneChildrenWhenMeasuring<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn getMeasureAllChildren<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn generateLayoutParams_AttributeSet<'env>(
&'env self,
arg0: impl Into<Option<&'env AttributeSet>>
) -> Result<Option<Local<'env, FrameLayout_LayoutParams>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env AttributeSet>>
) -> Result<Option<Local<'env, FrameLayout_LayoutParams>>, Local<'env, Throwable>>
Required features: "android-util-AttributeSet", "android-widget-FrameLayout_LayoutParams"
pub fn shouldDelayChildPressedState<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn getAccessibilityClassName<'env>(
&'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
Required features: "java-lang-CharSequence"
Trait Implementations
impl AsJValue for AppWidgetHostView
impl AsValidJObjectAndEnv for AppWidgetHostView
impl Deref for AppWidgetHostView
impl JniType for AppWidgetHostView
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for AppWidgetHostView
impl !Send for AppWidgetHostView
impl !Sync for AppWidgetHostView
impl Unpin for AppWidgetHostView
impl UnwindSafe for AppWidgetHostView
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>,