[]Struct jni_android_sys::android::content::RestrictionEntry

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

public class RestrictionEntry

Required feature: "android-content-RestrictionEntry"

Methods

impl RestrictionEntry

pub fn new_int_String<'env>(
    __jni_env: &'env Env,
    arg0: i32,
    arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, RestrictionEntry>, Local<'env, Throwable>>
[src]

RestrictionEntry

Required features: "java-lang-String"

pub fn new_String_String<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, RestrictionEntry>, Local<'env, Throwable>>
[src]

RestrictionEntry

Required features: "java-lang-String"

pub fn new_String_boolean<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: bool
) -> Result<Local<'env, RestrictionEntry>, Local<'env, Throwable>>
[src]

RestrictionEntry

Required features: "java-lang-String"

pub fn new_String_String_array<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<Local<'env, RestrictionEntry>, Local<'env, Throwable>>
[src]

RestrictionEntry

Required features: "java-lang-String"

pub fn new_String_int<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: i32
) -> Result<Local<'env, RestrictionEntry>, Local<'env, Throwable>>
[src]

RestrictionEntry

Required features: "java-lang-String"

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

RestrictionEntry

Required features: "android-os-Parcel"

pub fn createBundleEntry<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env ObjectArray<RestrictionEntry, Throwable>>>
) -> Result<Option<Local<'env, RestrictionEntry>>, Local<'env, Throwable>>
[src]

createBundleEntry

Required features: "android-content-RestrictionEntry", "java-lang-String"

pub fn createBundleArrayEntry<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env ObjectArray<RestrictionEntry, Throwable>>>
) -> Result<Option<Local<'env, RestrictionEntry>>, Local<'env, Throwable>>
[src]

createBundleArrayEntry

Required features: "android-content-RestrictionEntry", "java-lang-String"

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

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

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

getSelectedString

Required features: "java-lang-String"

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

getAllSelectedStrings

Required features: "java-lang-String"

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

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

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

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

setSelectedString

Required features: "java-lang-String"

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

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

setAllSelectedStrings

Required features: "java-lang-String"

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

setChoiceValues

Required features: "java-lang-String"

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

setChoiceValues

Required features: "android-content-Context"

pub fn getRestrictions<'env>(
    &'env self
) -> Result<Option<Local<'env, ObjectArray<RestrictionEntry, Throwable>>>, Local<'env, Throwable>>
[src]

getRestrictions

Required features: "android-content-RestrictionEntry"

pub fn setRestrictions<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ObjectArray<RestrictionEntry, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]

setRestrictions

Required features: "android-content-RestrictionEntry"

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

getChoiceValues

Required features: "java-lang-String"

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

setChoiceEntries

Required features: "java-lang-String"

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

setChoiceEntries

Required features: "android-content-Context"

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

getChoiceEntries

Required features: "java-lang-String"

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

getDescription

Required features: "java-lang-String"

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

setDescription

Required features: "java-lang-String"

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

getKey

Required features: "java-lang-String"

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

getTitle

Required features: "java-lang-String"

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

setTitle

Required features: "java-lang-String"

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 hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

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

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 toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

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 TYPE_BOOLEAN: i32[src]

public static final TYPE_BOOLEAN

pub const TYPE_BUNDLE: i32[src]

public static final TYPE_BUNDLE

pub const TYPE_BUNDLE_ARRAY: i32[src]

public static final TYPE_BUNDLE_ARRAY

pub const TYPE_CHOICE: i32[src]

public static final TYPE_CHOICE

pub const TYPE_INTEGER: i32[src]

public static final TYPE_INTEGER

pub const TYPE_MULTI_SELECT: i32[src]

public static final TYPE_MULTI_SELECT

pub const TYPE_NULL: i32[src]

public static final TYPE_NULL

pub const TYPE_STRING: i32[src]

public static final TYPE_STRING

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 RestrictionEntry

impl AsRef<Parcelable> for RestrictionEntry

impl AsValidJObjectAndEnv for RestrictionEntry

impl Deref for RestrictionEntry

type Target = Object

The resulting type after dereferencing.

impl JniType for RestrictionEntry

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.