TelephonyManager.GetTypeAllocationCode(Int32) 方法

定义

从 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 文档。

此页面的部分内容是基于 创建和共享的工作进行的修改,并根据 署名许可中所述的术语使用。

适用于