public class DeviceInformationRetriever
extends java.lang.Object
Constructor and Description |
---|
DeviceInformationRetriever(Context context)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
finalize()
Destructor de la classe.
|
int |
getBatteryLevelPercentage()
Funciķ que torna un enter amb el percentatge de bateria del dispositiu
|
java.lang.String |
getIMEI()
Funciķ que torna l'IMEI del dispositiu
|
java.lang.String |
getIMSI()
Funciķ que torna l'IMSI del dispositiu
|
public DeviceInformationRetriever(Context context)
context
- instāncia de Context
de l'aplicaciķpublic java.lang.String getIMEI()
public java.lang.String getIMSI()
public int getBatteryLevelPercentage()
public void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable