语言

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。

特性

注解

从 IMEI 返回类型分配代码。 如果类型分配代码不可用,则返回 null。

Java文档android.telephony.TelephonyManager.getTypeAllocationCode(int)。

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

适用于