[]Struct jni_android_sys::android::telecom::Call

#[repr(transparent)]
pub struct 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]

getRemainingPostDialSequence

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]

deflect

Required features: "android-net-Uri"

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

reject

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]

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

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

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

phoneAccountSelected

Required features: "android-telecom-PhoneAccountHandle"

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

conference

Required features: "android-telecom-Call"

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

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]

sendCallEvent

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]

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]

handoverTo

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]

putExtras

Required features: "android-os-Bundle"

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

removeExtras

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]

removeExtras

Required features: "java-lang-String"

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

getParent

Required features: "android-telecom-Call"

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

getChildren

Required features: "java-util-List"

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

getConferenceableCalls

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]

getCannedTextResponses

Required features: "java-util-List"

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

getVideoCall

Required features: "android-telecom-InCallService_VideoCall"

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

getDetails

Required features: "android-telecom-Call_Details"

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

getRttCall

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]

registerCallback

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]

registerCallback

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]

unregisterCallback

Required features: "android-telecom-Call_Callback"

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

toString

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]

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]

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 Call

impl AsValidJObjectAndEnv for Call

impl Deref for Call

type Target = Object

The resulting type after dereferencing.

impl JniType for Call

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]

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.