TelephonyManager.GetTypeAllocationCode(Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从 IMEI 返回类型分配代码。
[Android.Runtime.Register("getTypeAllocationCode", "(I)Ljava/lang/String;", "GetGetTypeAllocationCode_IHandler", ApiSince=29)]
public virtual string? GetTypeAllocationCode(int slotIndex);
[<Android.Runtime.Register("getTypeAllocationCode", "(I)Ljava/lang/String;", "GetGetTypeAllocationCode_IHandler", ApiSince=29)>]
abstract member GetTypeAllocationCode : int -> string
override this.GetTypeAllocationCode : int -> string
参数
- slotIndex
- Int32
返回的类型分配代码的
返回
指定槽的 IMEI 中的类型分配代码;如果它不可用,则为 null。
- 特性
注解
从 IMEI 返回类型分配代码。 如果类型分配代码不可用,则返回 null。
Java文档android.telephony.TelephonyManager.getTypeAllocationCode(int)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。