Interface Info |
|---|
public interface OpenDeviceClient Provides the method for obtaining an ODID. |
Qualifier and Type | Method Name and Description |
|---|---|
getOdid() Obtains an ODID in asynchronous mode. |
Method |
|---|
Task<OdidResult> getOdid() Obtains an ODID in asynchronous mode. You need to add a listener to listen to the operation result. |
Returns
Type | Description |
|---|---|
An instance of the Task<OdidResult> type. You need to add a listener to listen to the operation result. After the task is successfully executed, you can use the getId() method in OdidResult to obtain an ODID. |