Sdílet prostřednictvím


TelephonyManager.GetTypeAllocationCode(Int32) Method

Definition

Returns the Type Allocation Code from the 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

Parameters

slotIndex
Int32

of which Type Allocation Code is returned

Returns

Attributes

Remarks

Returns the Type Allocation Code from the IMEI. Return null if Type Allocation Code is not available.

Java documentation for android.telephony.TelephonyManager.getTypeAllocationCode(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to