[−]Struct jni_android_sys::android::app::UiModeManager
public class UiModeManager
Required feature: "android-app-UiModeManager"
Methods
impl UiModeManager
pub fn enableCarMode<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn disableCarMode<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getCurrentModeType<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn setNightMode<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getNightMode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn ACTION_ENTER_CAR_MODE<'env>(
env: &'env Env
) -> Option<Local<'env, String>>
[src]
env: &'env Env
) -> Option<Local<'env, String>>
get public static ACTION_ENTER_CAR_MODE
Required feature: "java-lang-String"
pub fn set_ACTION_ENTER_CAR_MODE<'env, 'obj>(
env: &'env Env,
value: impl Into<Option<&'obj String>>
)
[src]
env: &'env Env,
value: impl Into<Option<&'obj String>>
)
set public static ACTION_ENTER_CAR_MODE
Required feature: "java-lang-String"
pub fn ACTION_ENTER_DESK_MODE<'env>(
env: &'env Env
) -> Option<Local<'env, String>>
[src]
env: &'env Env
) -> Option<Local<'env, String>>
get public static ACTION_ENTER_DESK_MODE
Required feature: "java-lang-String"
pub fn set_ACTION_ENTER_DESK_MODE<'env, 'obj>(
env: &'env Env,
value: impl Into<Option<&'obj String>>
)
[src]
env: &'env Env,
value: impl Into<Option<&'obj String>>
)
set public static ACTION_ENTER_DESK_MODE
Required feature: "java-lang-String"
pub fn ACTION_EXIT_CAR_MODE<'env>(env: &'env Env) -> Option<Local<'env, String>>
[src]
get public static ACTION_EXIT_CAR_MODE
Required feature: "java-lang-String"
pub fn set_ACTION_EXIT_CAR_MODE<'env, 'obj>(
env: &'env Env,
value: impl Into<Option<&'obj String>>
)
[src]
env: &'env Env,
value: impl Into<Option<&'obj String>>
)
set public static ACTION_EXIT_CAR_MODE
Required feature: "java-lang-String"
pub fn ACTION_EXIT_DESK_MODE<'env>(
env: &'env Env
) -> Option<Local<'env, String>>
[src]
env: &'env Env
) -> Option<Local<'env, String>>
get public static ACTION_EXIT_DESK_MODE
Required feature: "java-lang-String"
pub fn set_ACTION_EXIT_DESK_MODE<'env, 'obj>(
env: &'env Env,
value: impl Into<Option<&'obj String>>
)
[src]
env: &'env Env,
value: impl Into<Option<&'obj String>>
)
set public static ACTION_EXIT_DESK_MODE
Required feature: "java-lang-String"
pub const DISABLE_CAR_MODE_GO_HOME: i32
[src]
public static final DISABLE_CAR_MODE_GO_HOME
pub const ENABLE_CAR_MODE_ALLOW_SLEEP: i32
[src]
public static final ENABLE_CAR_MODE_ALLOW_SLEEP
pub const ENABLE_CAR_MODE_GO_CAR_HOME: i32
[src]
public static final ENABLE_CAR_MODE_GO_CAR_HOME
pub const MODE_NIGHT_AUTO: i32
[src]
public static final MODE_NIGHT_AUTO
pub const MODE_NIGHT_NO: i32
[src]
public static final MODE_NIGHT_NO
pub const MODE_NIGHT_YES: i32
[src]
public static final MODE_NIGHT_YES
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 UiModeManager
impl AsValidJObjectAndEnv for UiModeManager
impl Deref for UiModeManager
impl JniType for UiModeManager
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for UiModeManager
impl !Send for UiModeManager
impl !Sync for UiModeManager
impl Unpin for UiModeManager
impl UnwindSafe for UiModeManager
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>,