[]Struct jni_android_sys::android::telecom::TelecomManager

#[repr(transparent)]
pub struct TelecomManager(_);

public class TelecomManager

Required feature: "android-telecom-TelecomManager"

Methods

impl TelecomManager

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

getDefaultOutgoingPhoneAccount

Required features: "android-telecom-PhoneAccountHandle", "java-lang-String"

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

getSimCallManager

Required features: "android-telecom-PhoneAccountHandle"

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

getCallCapablePhoneAccounts

Required features: "java-util-List"

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

getSelfManagedPhoneAccounts

Required features: "java-util-List"

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

getPhoneAccount

Required features: "android-telecom-PhoneAccount", "android-telecom-PhoneAccountHandle"

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

registerPhoneAccount

Required features: "android-telecom-PhoneAccount"

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

unregisterPhoneAccount

Required features: "android-telecom-PhoneAccountHandle"

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

getDefaultDialerPackage

Required features: "java-lang-String"

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

isVoiceMailNumber

Required features: "android-telecom-PhoneAccountHandle", "java-lang-String"

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

getVoiceMailNumber

Required features: "android-telecom-PhoneAccountHandle", "java-lang-String"

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

getLine1Number

Required features: "android-telecom-PhoneAccountHandle", "java-lang-String"

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

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

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

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

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

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

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

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

addNewIncomingCall

Required features: "android-os-Bundle", "android-telecom-PhoneAccountHandle"

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

handleMmi

Required features: "java-lang-String"

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

handleMmi

Required features: "android-telecom-PhoneAccountHandle", "java-lang-String"

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

getAdnUriForPhoneAccount

Required features: "android-net-Uri", "android-telecom-PhoneAccountHandle"

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

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

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

placeCall

Required features: "android-net-Uri", "android-os-Bundle"

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

createManageBlockedNumbersIntent

Required features: "android-content-Intent"

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

isIncomingCallPermitted

Required features: "android-telecom-PhoneAccountHandle"

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

isOutgoingCallPermitted

Required features: "android-telecom-PhoneAccountHandle"

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

acceptHandover

Required features: "android-net-Uri", "android-telecom-PhoneAccountHandle"

pub const ACTION_CHANGE_DEFAULT_DIALER: &'static str[src]

public static final ACTION_CHANGE_DEFAULT_DIALER

pub const ACTION_CHANGE_PHONE_ACCOUNTS: &'static str[src]

public static final ACTION_CHANGE_PHONE_ACCOUNTS

pub const ACTION_CONFIGURE_PHONE_ACCOUNT: &'static str[src]

public static final ACTION_CONFIGURE_PHONE_ACCOUNT

pub const ACTION_DEFAULT_DIALER_CHANGED: &'static str[src]

public static final ACTION_DEFAULT_DIALER_CHANGED

pub const ACTION_INCOMING_CALL: &'static str[src]

Deprecated

public static final ACTION_INCOMING_CALL

pub const ACTION_PHONE_ACCOUNT_REGISTERED: &'static str[src]

public static final ACTION_PHONE_ACCOUNT_REGISTERED

pub const ACTION_PHONE_ACCOUNT_UNREGISTERED: &'static str[src]

pub const ACTION_SHOW_CALL_ACCESSIBILITY_SETTINGS: &'static str[src]

pub const ACTION_SHOW_CALL_SETTINGS: &'static str[src]

public static final ACTION_SHOW_CALL_SETTINGS

pub const ACTION_SHOW_MISSED_CALLS_NOTIFICATION: &'static str[src]

pub const ACTION_SHOW_RESPOND_VIA_SMS_SETTINGS: &'static str[src]

pub const DTMF_CHARACTER_PAUSE: jchar[src]

public static final DTMF_CHARACTER_PAUSE

pub const DTMF_CHARACTER_WAIT: jchar[src]

public static final DTMF_CHARACTER_WAIT

pub const EXTRA_CALL_BACK_NUMBER: &'static str[src]

public static final EXTRA_CALL_BACK_NUMBER

pub const EXTRA_CALL_DISCONNECT_CAUSE: &'static str[src]

public static final EXTRA_CALL_DISCONNECT_CAUSE

pub const EXTRA_CALL_DISCONNECT_MESSAGE: &'static str[src]

public static final EXTRA_CALL_DISCONNECT_MESSAGE

pub const EXTRA_CALL_SUBJECT: &'static str[src]

public static final EXTRA_CALL_SUBJECT

pub const EXTRA_CHANGE_DEFAULT_DIALER_PACKAGE_NAME: &'static str[src]

pub const EXTRA_INCOMING_CALL_ADDRESS: &'static str[src]

public static final EXTRA_INCOMING_CALL_ADDRESS

pub const EXTRA_INCOMING_CALL_EXTRAS: &'static str[src]

public static final EXTRA_INCOMING_CALL_EXTRAS

pub const EXTRA_INCOMING_VIDEO_STATE: &'static str[src]

public static final EXTRA_INCOMING_VIDEO_STATE

pub const EXTRA_NOTIFICATION_COUNT: &'static str[src]

public static final EXTRA_NOTIFICATION_COUNT

pub const EXTRA_NOTIFICATION_PHONE_NUMBER: &'static str[src]

public static final EXTRA_NOTIFICATION_PHONE_NUMBER

pub const EXTRA_OUTGOING_CALL_EXTRAS: &'static str[src]

public static final EXTRA_OUTGOING_CALL_EXTRAS

pub const EXTRA_PHONE_ACCOUNT_HANDLE: &'static str[src]

public static final EXTRA_PHONE_ACCOUNT_HANDLE

pub const EXTRA_START_CALL_WITH_RTT: &'static str[src]

public static final EXTRA_START_CALL_WITH_RTT

pub const EXTRA_START_CALL_WITH_SPEAKERPHONE: &'static str[src]

pub const EXTRA_START_CALL_WITH_VIDEO_STATE: &'static str[src]

pub const GATEWAY_ORIGINAL_ADDRESS: &'static str[src]

public static final GATEWAY_ORIGINAL_ADDRESS

pub const GATEWAY_PROVIDER_PACKAGE: &'static str[src]

public static final GATEWAY_PROVIDER_PACKAGE

pub const METADATA_INCLUDE_EXTERNAL_CALLS: &'static str[src]

public static final METADATA_INCLUDE_EXTERNAL_CALLS

pub const METADATA_INCLUDE_SELF_MANAGED_CALLS: &'static str[src]

pub const METADATA_IN_CALL_SERVICE_RINGING: &'static str[src]

pub const METADATA_IN_CALL_SERVICE_UI: &'static str[src]

public static final METADATA_IN_CALL_SERVICE_UI

pub const PRESENTATION_ALLOWED: i32[src]

public static final PRESENTATION_ALLOWED

pub const PRESENTATION_PAYPHONE: i32[src]

public static final PRESENTATION_PAYPHONE

pub const PRESENTATION_RESTRICTED: i32[src]

public static final PRESENTATION_RESTRICTED

pub const PRESENTATION_UNKNOWN: i32[src]

public static final PRESENTATION_UNKNOWN

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 TelecomManager

impl AsValidJObjectAndEnv for TelecomManager

impl Deref for TelecomManager

type Target = Object

The resulting type after dereferencing.

impl JniType for TelecomManager

Auto Trait Implementations

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.