[−]Struct jni_android_sys::android::content::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]
__jni_env: &'env Env,
arg0: i32,
arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, RestrictionEntry>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, RestrictionEntry>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: bool
) -> Result<Local<'env, RestrictionEntry>, Local<'env, Throwable>>
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]
__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>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Local<'env, RestrictionEntry>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Parcel>>
) -> Result<Local<'env, RestrictionEntry>, Local<'env, Throwable>>
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]
__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>>
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]
__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>>
Required features: "android-content-RestrictionEntry", "java-lang-String"
pub fn setType<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
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]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getAllSelectedStrings<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getSelectedState<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
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]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setSelectedString<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn setSelectedState<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn setAllSelectedStrings<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Context"
pub fn getRestrictions<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<RestrictionEntry, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<RestrictionEntry, Throwable>>>, Local<'env, Throwable>>
Required features: "android-content-RestrictionEntry"
pub fn setRestrictions<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<RestrictionEntry, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<RestrictionEntry, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-RestrictionEntry"
pub fn getChoiceValues<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Context"
pub fn getChoiceEntries<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getDescription<'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 setDescription<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getKey<'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 getTitle<'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 setTitle<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
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 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]
&'env self,
arg0: impl Into<Option<&'env Parcel>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Parcel"
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 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]
&'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 RestrictionEntry
impl AsRef<Parcelable> for RestrictionEntry
fn as_ref(&self) -> &Parcelable
impl AsValidJObjectAndEnv for RestrictionEntry
impl Deref for RestrictionEntry
impl JniType for RestrictionEntry
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for RestrictionEntry
impl !Send for RestrictionEntry
impl !Sync for RestrictionEntry
impl Unpin for RestrictionEntry
impl UnwindSafe for RestrictionEntry
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>,