[]Struct jni_android_sys::android::telecom::PhoneAccount

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

public final class PhoneAccount

Required feature: "android-telecom-PhoneAccount"

Methods

impl PhoneAccount

pub fn builder<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env PhoneAccountHandle>>,
    arg1: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, PhoneAccount_Builder>>, Local<'env, Throwable>>
[src]

builder

Required features: "android-telecom-PhoneAccountHandle", "android-telecom-PhoneAccount_Builder", "java-lang-CharSequence"

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

toBuilder

Required features: "android-telecom-PhoneAccount_Builder"

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

getAccountHandle

Required features: "android-telecom-PhoneAccountHandle"

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

getAddress

Required features: "android-net-Uri"

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

getSubscriptionAddress

Required features: "android-net-Uri"

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

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

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

getLabel

Required features: "java-lang-CharSequence"

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

getShortDescription

Required features: "java-lang-CharSequence"

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

getSupportedUriSchemes

Required features: "java-util-List"

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

getExtras

Required features: "android-os-Bundle"

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

getIcon

Required features: "android-graphics-drawable-Icon"

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

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

supportsUriScheme

Required features: "java-lang-String"

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

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

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

writeToParcel

Required features: "android-os-Parcel"

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

toString

Required features: "java-lang-String"

pub const CAPABILITY_CALL_PROVIDER: i32[src]

public static final CAPABILITY_CALL_PROVIDER

pub const CAPABILITY_CALL_SUBJECT: i32[src]

public static final CAPABILITY_CALL_SUBJECT

pub const CAPABILITY_CONNECTION_MANAGER: i32[src]

public static final CAPABILITY_CONNECTION_MANAGER

pub const CAPABILITY_PLACE_EMERGENCY_CALLS: i32[src]

pub const CAPABILITY_RTT: i32[src]

public static final CAPABILITY_RTT

pub const CAPABILITY_SELF_MANAGED: i32[src]

public static final CAPABILITY_SELF_MANAGED

pub const CAPABILITY_SIM_SUBSCRIPTION: i32[src]

public static final CAPABILITY_SIM_SUBSCRIPTION

pub const CAPABILITY_SUPPORTS_VIDEO_CALLING: i32[src]

pub const CAPABILITY_VIDEO_CALLING: i32[src]

public static final CAPABILITY_VIDEO_CALLING

pub const CAPABILITY_VIDEO_CALLING_RELIES_ON_PRESENCE: i32[src]

pub fn CREATOR<'env>(env: &'env Env) -> Option<Local<'env, Parcelable_Creator>>[src]

get public static final CREATOR

Required feature: "android-os-Parcelable_Creator"

pub const EXTRA_CALL_SUBJECT_CHARACTER_ENCODING: &'static str[src]

pub const EXTRA_CALL_SUBJECT_MAX_LENGTH: &'static str[src]

public static final EXTRA_CALL_SUBJECT_MAX_LENGTH

pub const EXTRA_LOG_SELF_MANAGED_CALLS: &'static str[src]

public static final EXTRA_LOG_SELF_MANAGED_CALLS

pub const EXTRA_SUPPORTS_HANDOVER_FROM: &'static str[src]

public static final EXTRA_SUPPORTS_HANDOVER_FROM

pub const EXTRA_SUPPORTS_HANDOVER_TO: &'static str[src]

public static final EXTRA_SUPPORTS_HANDOVER_TO

pub const NO_HIGHLIGHT_COLOR: i32[src]

public static final NO_HIGHLIGHT_COLOR

pub const NO_RESOURCE_ID: i32[src]

public static final NO_RESOURCE_ID

pub const SCHEME_SIP: &'static str[src]

public static final SCHEME_SIP

pub const SCHEME_TEL: &'static str[src]

public static final SCHEME_TEL

pub const SCHEME_VOICEMAIL: &'static str[src]

public static final SCHEME_VOICEMAIL

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 PhoneAccount

impl AsRef<Parcelable> for PhoneAccount

impl AsValidJObjectAndEnv for PhoneAccount

impl Deref for PhoneAccount

type Target = Object

The resulting type after dereferencing.

impl JniType for PhoneAccount

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.