[−]Struct jni_android_sys::android::telecom::Call
public final class Call
Required feature: "android-telecom-Call"
Methods
impl Call
pub fn getRemainingPostDialSequence<'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 answer<'env>(&'env self, arg0: i32) -> Result<(), Local<'env, Throwable>>
[src]
pub fn deflect<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-net-Uri"
pub fn reject<'env>(
&'env self,
arg0: bool,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn disconnect<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn hold<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn unhold<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn playDtmfTone<'env>(
&'env self,
arg0: jchar
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: jchar
) -> Result<(), Local<'env, Throwable>>
pub fn stopDtmfTone<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn postDialContinue<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn phoneAccountSelected<'env>(
&'env self,
arg0: impl Into<Option<&'env PhoneAccountHandle>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env PhoneAccountHandle>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
Required features: "android-telecom-PhoneAccountHandle"
pub fn conference<'env>(
&'env self,
arg0: impl Into<Option<&'env Call>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Call>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-telecom-Call"
pub fn splitFromConference<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
pub fn mergeConference<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn swapConference<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn pullExternalCall<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn sendCallEvent<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Bundle", "java-lang-String"
pub fn sendRttRequest<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn respondToRttRequest<'env>(
&'env self,
arg0: i32,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
pub fn handoverTo<'env>(
&'env self,
arg0: impl Into<Option<&'env PhoneAccountHandle>>,
arg1: i32,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env PhoneAccountHandle>>,
arg1: i32,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Bundle", "android-telecom-PhoneAccountHandle"
pub fn stopRtt<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn putExtras<'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 removeExtras_List<'env>(
&'env self,
arg0: impl Into<Option<&'env List>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env List>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-util-List"
pub fn removeExtras_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 getParent<'env>(
&'env self
) -> Result<Option<Local<'env, Call>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Call>>, Local<'env, Throwable>>
Required features: "android-telecom-Call"
pub fn getChildren<'env>(
&'env self
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "java-util-List"
pub fn getConferenceableCalls<'env>(
&'env self
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "java-util-List"
pub fn getState<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn getCannedTextResponses<'env>(
&'env self
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "java-util-List"
pub fn getVideoCall<'env>(
&'env self
) -> Result<Option<Local<'env, InCallService_VideoCall>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, InCallService_VideoCall>>, Local<'env, Throwable>>
Required features: "android-telecom-InCallService_VideoCall"
pub fn getDetails<'env>(
&'env self
) -> Result<Option<Local<'env, Call_Details>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Call_Details>>, Local<'env, Throwable>>
Required features: "android-telecom-Call_Details"
pub fn getRttCall<'env>(
&'env self
) -> Result<Option<Local<'env, Call_RttCall>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Call_RttCall>>, Local<'env, Throwable>>
Required features: "android-telecom-Call_RttCall"
pub fn isRttActive<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn registerCallback_Callback<'env>(
&'env self,
arg0: impl Into<Option<&'env Call_Callback>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Call_Callback>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-telecom-Call_Callback"
pub fn registerCallback_Callback_Handler<'env>(
&'env self,
arg0: impl Into<Option<&'env Call_Callback>>,
arg1: impl Into<Option<&'env Handler>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Call_Callback>>,
arg1: impl Into<Option<&'env Handler>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Handler", "android-telecom-Call_Callback"
pub fn unregisterCallback<'env>(
&'env self,
arg0: impl Into<Option<&'env Call_Callback>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Call_Callback>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-telecom-Call_Callback"
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 const AVAILABLE_PHONE_ACCOUNTS: &'static str
[src]
public static final AVAILABLE_PHONE_ACCOUNTS
pub const EXTRA_LAST_EMERGENCY_CALLBACK_TIME_MILLIS: &'static str
[src]
public static final EXTRA_LAST_EMERGENCY_CALLBACK_TIME_MILLIS
pub const STATE_ACTIVE: i32
[src]
public static final STATE_ACTIVE
pub const STATE_CONNECTING: i32
[src]
public static final STATE_CONNECTING
pub const STATE_DIALING: i32
[src]
public static final STATE_DIALING
pub const STATE_DISCONNECTED: i32
[src]
public static final STATE_DISCONNECTED
pub const STATE_DISCONNECTING: i32
[src]
public static final STATE_DISCONNECTING
pub const STATE_HOLDING: i32
[src]
public static final STATE_HOLDING
pub const STATE_NEW: i32
[src]
public static final STATE_NEW
pub const STATE_PULLING_CALL: i32
[src]
public static final STATE_PULLING_CALL
pub const STATE_RINGING: i32
[src]
public static final STATE_RINGING
pub const STATE_SELECT_PHONE_ACCOUNT: i32
[src]
public static final STATE_SELECT_PHONE_ACCOUNT
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 Call
impl AsValidJObjectAndEnv for Call
impl Deref for Call
impl JniType for Call
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for Call
impl !Send for Call
impl !Sync for Call
impl Unpin for Call
impl UnwindSafe for Call
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>,