本資訊可協助自您 Android 應用程式擷取儲存於本機的 SDK 身分識別,以及處理 GDPR 資料存取請求。
getAllIdentifiersAsync
方法會擷取儲存於 SDK 中的身分識別。You must call this method before the user opts-out.
SDK身分識別(如適用)會儲存在本機,並傳回至JSON字串中,其中可能包含:
以下是 Android 中的 ADBMobile getAllIdentifiersAsync
方法的範例:
Config.getAllIdentifiersAsync(new ConfigCallback<String>() {
@Override
public void call(String identitiesJson) {
Log.d("ADBMobile Identities", identitiesJson);
}
});