public interface

DeviceIdentifiers

bymason.platform.DeviceIdentifiers

Class Overview

Interface to get unique device identifiers (serial, IMEI, device ID).

Summary

Public Methods
abstract String getDeviceId()
Gets the device unique number.
abstract String getDeviceName()
Gets the device name.
abstract String getIMEI(int slot)
Gets the device IMEI.
abstract String getSerial()
Gets the device serial number.

Public Methods

public abstract String getDeviceId ()

Gets the device unique number.

Returns
String the unique device id number

public abstract String getDeviceName ()

Gets the device name.

Returns
String the device name or null

public abstract String getIMEI (int slot)

Gets the device IMEI. Returns the first available in multisim scenarios.

Parameters
slot int: the SIM slot index
Returns
String the IMEI

public abstract String getSerial ()

Gets the device serial number.

Returns
String the unique device serial number