Android 사용자 속성 설정하기
Adrop 초기화
// 1. Application Context를 사용하세요.
// 2. production = true 를 사용하세요.
// 3. 특정 국가에서 이 SDK를 사용하고 있다면,
// ISO 3166 alpha-2 국가 코드 array를 전달하세요.
val production = true
val targetCountries = arrayOf<String>()
Adrop.initialize(application, production, targetCountries)// 1. Application Context를 사용하세요.
// 2. production = true 를 사용하세요.
// 3. 특정 국가에서 이 SDK를 사용하고 있다면,
// ISO 3166 alpha-2 국가 코드 array를 전달하세요.
Boolean production = true;
String[] targetCountries = {};
Adrop.INSTANCE.initialize(getApplication(), production, targetCountries);사용자 속성 세팅
앱 사용자를 설명하는 속성을 설정할 수 있습니다. 지원하는 키에 대해 사전 설정된 값을 확인하세요.
val key = "YOUR_PROPERTY_KEY"
val value = "YOUR_PROPERTY_VALUE"
// 프로퍼티 설정 함수
AdropMetrics.setProperty(key, value)
// 현재 디바이스의 프로퍼티를 확인할 수 있는 함수
AdropMetrics.properties()
// UID 설정 함수
AdropMetrics.setUID('YOUR_UID')String key = "YOUR_PROPERTY_KEY";
String value = "YOUR_PROPERTY_VALUE";
// 프로퍼티 설정 함수
AdropMetrics.INSTANCE.setProperty(key, value);
// 현재 디바이스의 프로퍼티를 확인할 수 있는 함수
AdropMetrics.INSTANCE.properties();
// UID 설정 함수
AdropMetrics.INSTANCE.setUID('YOUR_UID')Last updated