[]Struct jni_android_sys::android::telephony::PhoneNumberUtils

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

public class PhoneNumberUtils

Required feature: "android-telephony-PhoneNumberUtils"

Methods

impl PhoneNumberUtils

pub fn new<'env>(
    __jni_env: &'env Env
) -> Result<Local<'env, PhoneNumberUtils>, Local<'env, Throwable>>
[src]

pub fn isISODigit<'env>(
    __jni_env: &'env Env,
    arg0: jchar
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn is12Key<'env>(
    __jni_env: &'env Env,
    arg0: jchar
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn isDialable<'env>(
    __jni_env: &'env Env,
    arg0: jchar
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn isReallyDialable<'env>(
    __jni_env: &'env Env,
    arg0: jchar
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn isNonSeparator<'env>(
    __jni_env: &'env Env,
    arg0: jchar
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn isStartsPostDial<'env>(
    __jni_env: &'env Env,
    arg0: jchar
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn getNumberFromIntent<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Intent>>,
    arg1: impl Into<Option<&'env Context>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getNumberFromIntent

Required features: "android-content-Context", "android-content-Intent", "java-lang-String"

pub fn extractNetworkPortion<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

extractNetworkPortion

Required features: "java-lang-String"

pub fn stripSeparators<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

stripSeparators

Required features: "java-lang-String"

pub fn extractPostDialPortion<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

extractPostDialPortion

Required features: "java-lang-String"

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

compare

Required features: "java-lang-String"

pub fn compare_Context_String_String<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]

compare

Required features: "android-content-Context", "java-lang-String"

pub fn toCallerIDMinMatch<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toCallerIDMinMatch

Required features: "java-lang-String"

pub fn getStrippedReversed<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getStrippedReversed

Required features: "java-lang-String"

pub fn stringFromStringAndTOA<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

stringFromStringAndTOA

Required features: "java-lang-String"

pub fn toaFromString<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
[src]

toaFromString

Required features: "java-lang-String"

pub fn calledPartyBCDToString_byte_array_int_int<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ByteArray>>,
    arg1: i32,
    arg2: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

Deprecated

calledPartyBCDToString

Required features: "java-lang-String"

pub fn calledPartyBCDToString_byte_array_int_int_int<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ByteArray>>,
    arg1: i32,
    arg2: i32,
    arg3: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

calledPartyBCDToString

Required features: "java-lang-String"

pub fn calledPartyBCDFragmentToString_byte_array_int_int<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ByteArray>>,
    arg1: i32,
    arg2: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

Deprecated

calledPartyBCDFragmentToString

Required features: "java-lang-String"

pub fn calledPartyBCDFragmentToString_byte_array_int_int_int<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ByteArray>>,
    arg1: i32,
    arg2: i32,
    arg3: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

calledPartyBCDFragmentToString

Required features: "java-lang-String"

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

isWellFormedSmsAddress

Required features: "java-lang-String"

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

isGlobalPhoneNumber

Required features: "java-lang-String"

pub fn networkPortionToCalledPartyBCD<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, ByteArray>>, Local<'env, Throwable>>
[src]

networkPortionToCalledPartyBCD

Required features: "java-lang-String"

pub fn networkPortionToCalledPartyBCDWithLength<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, ByteArray>>, Local<'env, Throwable>>
[src]

networkPortionToCalledPartyBCDWithLength

Required features: "java-lang-String"

pub fn numberToCalledPartyBCD_String<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, ByteArray>>, Local<'env, Throwable>>
[src]

Deprecated

numberToCalledPartyBCD

Required features: "java-lang-String"

pub fn numberToCalledPartyBCD_String_int<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: i32
) -> Result<Option<Local<'env, ByteArray>>, Local<'env, Throwable>>
[src]

numberToCalledPartyBCD

Required features: "java-lang-String"

pub fn formatNumber_String<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

Deprecated

formatNumber

Required features: "java-lang-String"

pub fn getFormatTypeForLocale<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Locale>>
) -> Result<i32, Local<'env, Throwable>>
[src]

Deprecated

getFormatTypeForLocale

Required features: "java-util-Locale"

pub fn formatNumber_Editable_int<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Editable>>,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

formatNumber

Required features: "android-text-Editable"

pub fn formatNanpNumber<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Editable>>
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

formatNanpNumber

Required features: "android-text-Editable"

pub fn formatJapaneseNumber<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Editable>>
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

formatJapaneseNumber

Required features: "android-text-Editable"

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

formatNumberToE164

Required features: "java-lang-String"

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

formatNumberToRFC3966

Required features: "java-lang-String"

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

formatNumber

Required features: "java-lang-String"

pub fn formatNumber_String_String_String<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

formatNumber

Required features: "java-lang-String"

pub fn normalizeNumber<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

normalizeNumber

Required features: "java-lang-String"

pub fn replaceUnicodeDigits<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

replaceUnicodeDigits

Required features: "java-lang-String"

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

isEmergencyNumber

Required features: "java-lang-String"

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

isLocalEmergencyNumber

Required features: "android-content-Context", "java-lang-String"

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

isVoiceMailNumber

Required features: "java-lang-String"

pub fn convertKeypadLettersToDigits<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

convertKeypadLettersToDigits

Required features: "java-lang-String"

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

createTtsSpannable

Required features: "java-lang-CharSequence"

pub fn addTtsSpan<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Spannable>>,
    arg1: i32,
    arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]

addTtsSpan

Required features: "android-text-Spannable"

pub fn createTtsSpan<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, TtsSpan>>, Local<'env, Throwable>>
[src]

createTtsSpan

Required features: "android-text-style-TtsSpan", "java-lang-String"

pub const BCD_EXTENDED_TYPE_CALLED_PARTY: i32[src]

public static final BCD_EXTENDED_TYPE_CALLED_PARTY

pub const BCD_EXTENDED_TYPE_EF_ADN: i32[src]

public static final BCD_EXTENDED_TYPE_EF_ADN

pub const FORMAT_JAPAN: i32[src]

public static final FORMAT_JAPAN

pub const FORMAT_NANP: i32[src]

public static final FORMAT_NANP

pub const FORMAT_UNKNOWN: i32[src]

public static final FORMAT_UNKNOWN

pub const PAUSE: jchar[src]

public static final PAUSE

pub const TOA_International: i32[src]

public static final TOA_International

pub const TOA_Unknown: i32[src]

public static final TOA_Unknown

pub const WAIT: jchar[src]

public static final WAIT

pub const WILD: jchar[src]

public static final WILD

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 PhoneNumberUtils

impl AsValidJObjectAndEnv for PhoneNumberUtils

impl Deref for PhoneNumberUtils

type Target = Object

The resulting type after dereferencing.

impl JniType for PhoneNumberUtils

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.