目录

OpenDeviceClient

Interface Info

public interface OpenDeviceClient

Provides the method for obtaining an ODID.

Public Method Summary

Qualifier and Type

Method Name and Description

Task<OdidResult>

getOdid()

Obtains an ODID in asynchronous mode.

Public Methods

[h2]getOdid

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

Task<OdidResult>

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.