TelephonyManager.GetTypeAllocationCode(Int32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Retourne le code d’allocation de type à partir de l’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
Paramètres
- slotIndex
- Int32
dont le code d’allocation de type est retourné
Retours
- Attributs
Remarques
Retourne le code d’allocation de type à partir de l’IMEI. Retourne la valeur Null si le code d’allocation de type n’est pas disponible.
Java documentation pour android.telephony.TelephonyManager.getTypeAllocationCode(int).
Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.