[]Struct jni_android_sys::android::app::WallpaperInfo

#[repr(transparent)]
pub struct WallpaperInfo(_);

public final class WallpaperInfo

Required feature: "android-app-WallpaperInfo"

Methods

impl WallpaperInfo

pub fn new<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>,
    arg1: impl Into<Option<&'env ResolveInfo>>
) -> Result<Local<'env, WallpaperInfo>, Local<'env, Throwable>>
[src]

WallpaperInfo

Required features: "android-content-Context", "android-content-pm-ResolveInfo"

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

getPackageName

Required features: "java-lang-String"

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

getServiceName

Required features: "java-lang-String"

pub fn getServiceInfo<'env>(
    &'env self
) -> Result<Option<Local<'env, ServiceInfo>>, Local<'env, Throwable>>
[src]

getServiceInfo

Required features: "android-content-pm-ServiceInfo"

pub fn getComponent<'env>(
    &'env self
) -> Result<Option<Local<'env, ComponentName>>, Local<'env, Throwable>>
[src]

getComponent

Required features: "android-content-ComponentName"

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

loadLabel

Required features: "android-content-pm-PackageManager", "java-lang-CharSequence"

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

loadIcon

Required features: "android-content-pm-PackageManager", "android-graphics-drawable-Drawable"

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

loadThumbnail

Required features: "android-content-pm-PackageManager", "android-graphics-drawable-Drawable"

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

loadAuthor

Required features: "android-content-pm-PackageManager", "java-lang-CharSequence"

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

loadDescription

Required features: "android-content-pm-PackageManager", "java-lang-CharSequence"

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

loadContextUri

Required features: "android-content-pm-PackageManager", "android-net-Uri"

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

loadContextDescription

Required features: "android-content-pm-PackageManager", "java-lang-CharSequence"

pub fn getShowMetadataInPreview<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

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

getSettingsActivity

Required features: "java-lang-String"

pub fn dump<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Printer>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

dump

Required features: "android-util-Printer", "java-lang-String"

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

toString

Required features: "java-lang-String"

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

writeToParcel

Required features: "android-os-Parcel"

pub fn describeContents<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn CREATOR<'env>(env: &'env Env) -> Option<Local<'env, Parcelable_Creator>>[src]

get public static final CREATOR

Required feature: "android-os-Parcelable_Creator"

Methods from Deref<Target = Object>

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

getClass

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]

equals

Required features: "java-lang-Object"

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

toString

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]

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

pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

Trait Implementations

impl AsJValue for WallpaperInfo

impl AsRef<Parcelable> for WallpaperInfo

impl AsValidJObjectAndEnv for WallpaperInfo

impl Deref for WallpaperInfo

type Target = Object

The resulting type after dereferencing.

impl JniType for WallpaperInfo

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<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.