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。
的 android.telephony.TelephonyManager.getTypeAllocationCode(int)
Java 文档。
此页面的部分内容是基于 创建和共享的工作进行的修改,并根据 署名许可中所述的术语使用。