[−]Struct jni_android_sys::android::service::voice::VoiceInteractionSession_CommandRequest
public final class VoiceInteractionSession.CommandRequest
Required feature: "android-service-voice-VoiceInteractionSession_CommandRequest"
Methods
impl VoiceInteractionSession_CommandRequest
pub fn getCommand<'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 sendIntermediateResult<'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 sendResult<'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"
Methods from Deref<Target = VoiceInteractionSession_Request>
pub fn getCallingUid<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn getCallingPackage<'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 getExtras<'env>(
&'env self
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
Required features: "android-os-Bundle"
pub fn isActive<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn cancel<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
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"
Trait Implementations
impl AsJValue for VoiceInteractionSession_CommandRequest
impl AsValidJObjectAndEnv for VoiceInteractionSession_CommandRequest
impl Deref for VoiceInteractionSession_CommandRequest
type Target = VoiceInteractionSession_Request
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl JniType for VoiceInteractionSession_CommandRequest
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for VoiceInteractionSession_CommandRequest
impl !Send for VoiceInteractionSession_CommandRequest
impl !Sync for VoiceInteractionSession_CommandRequest
impl Unpin for VoiceInteractionSession_CommandRequest
impl UnwindSafe for VoiceInteractionSession_CommandRequest
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>,