[−]Struct jni_android_sys::android::telephony::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]
__jni_env: &'env Env
) -> Result<Local<'env, PhoneNumberUtils>, Local<'env, Throwable>>
pub fn isISODigit<'env>(
__jni_env: &'env Env,
arg0: jchar
) -> Result<bool, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: jchar
) -> Result<bool, Local<'env, Throwable>>
pub fn is12Key<'env>(
__jni_env: &'env Env,
arg0: jchar
) -> Result<bool, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: jchar
) -> Result<bool, Local<'env, Throwable>>
pub fn isDialable<'env>(
__jni_env: &'env Env,
arg0: jchar
) -> Result<bool, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: jchar
) -> Result<bool, Local<'env, Throwable>>
pub fn isReallyDialable<'env>(
__jni_env: &'env Env,
arg0: jchar
) -> Result<bool, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: jchar
) -> Result<bool, Local<'env, Throwable>>
pub fn isNonSeparator<'env>(
__jni_env: &'env Env,
arg0: jchar
) -> Result<bool, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: jchar
) -> Result<bool, Local<'env, Throwable>>
pub fn isStartsPostDial<'env>(
__jni_env: &'env Env,
arg0: jchar
) -> Result<bool, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: jchar
) -> Result<bool, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env Context>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
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]
__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>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ByteArray>>,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ByteArray>>,
arg1: i32,
arg2: i32,
arg3: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ByteArray>>,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ByteArray>>,
arg1: i32,
arg2: i32,
arg3: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, ByteArray>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, ByteArray>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, ByteArray>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, ByteArray>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Locale>>
) -> Result<i32, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Editable>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-text-Editable"
pub fn formatNanpNumber<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Editable>>
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Editable>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-text-Editable"
pub fn formatJapaneseNumber<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Editable>>
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Editable>>
) -> Result<(), Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__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>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Spannable>>,
arg1: i32,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, TtsSpan>>, Local<'env, Throwable>>
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]
&'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 PhoneNumberUtils
impl AsValidJObjectAndEnv for PhoneNumberUtils
impl Deref for PhoneNumberUtils
impl JniType for PhoneNumberUtils
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for PhoneNumberUtils
impl !Send for PhoneNumberUtils
impl !Sync for PhoneNumberUtils
impl Unpin for PhoneNumberUtils
impl UnwindSafe for PhoneNumberUtils
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>,