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。
Java 文件 android.telephony.TelephonyManager.getTypeAllocationCode(int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。