TelephonyManagerCompat

Helper for accessing features in TelephonyManager.

Functions

Link copied to clipboard
Returns the IMEI (International Mobile Equipment Identity) associated with the subscription id of the given TelephonyManager, or null if not available.
Link copied to clipboard
open fun getSubscriptionId(@NonNull telephonyManager: TelephonyManager): Int
Return the subscription ID the TelephonyManager was created with (via createForSubscriptionId) if applicable, and otherwise the default subscription ID.