语言

PhoneNumberFormattingTextWatcher 构造函数

定义

重载

名称 说明
PhoneNumberFormattingTextWatcher()

格式设置基于当前系统区域设置,将来的区域设置更改可能不会对此实例生效。

PhoneNumberFormattingTextWatcher(String)

格式设置基于给定 countryCode的 。

PhoneNumberFormattingTextWatcher(IntPtr, JniHandleOwnership)

创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。

PhoneNumberFormattingTextWatcher()

格式设置基于当前系统区域设置,将来的区域设置更改可能不会对此实例生效。

[Android.Runtime.Register(".ctor", "()V", "")]
public PhoneNumberFormattingTextWatcher();
特性

注解

格式设置基于当前系统区域设置,将来的区域设置更改可能不会对此实例生效。

Java文档android.telephony.PhoneNumberFormattingTextWatcher.PhoneNumberFormattingTextWatcher()。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

PhoneNumberFormattingTextWatcher(String)

格式设置基于给定 countryCode的 。

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public PhoneNumberFormattingTextWatcher(string? countryCode);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Android.Telephony.PhoneNumberFormattingTextWatcher : string -> Android.Telephony.PhoneNumberFormattingTextWatcher

参数

countryCode
String

ISO 3166-1 双字母国家/地区代码,指示输入电话号码的国家/地区。

特性

注解

格式设置基于给定 countryCode的 。

Java文档android.telephony.PhoneNumberFormattingTextWatcher.PhoneNumberFormattingTextWatcher(java.lang.String)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

PhoneNumberFormattingTextWatcher(IntPtr, JniHandleOwnership)

创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。

protected PhoneNumberFormattingTextWatcher(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Telephony.PhoneNumberFormattingTextWatcher : nativeint * Android.Runtime.JniHandleOwnership -> Android.Telephony.PhoneNumberFormattingTextWatcher

参数

javaReference
IntPtr

nativeint

IntPtr一个包含Java本机接口 (JNI) 对象引用。

transfer
JniHandleOwnership

指示 JniHandleOwnership如何处理 javaReference

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于