ConsentInformation.ConsentStatus

@Retention(value = SOURCE)
@IntDef(value = [ConsentStatus.UNKNOWN, ConsentStatus.NOT_REQUIRED, ConsentStatus.REQUIRED, ConsentStatus.OBTAINED])
public annotation ConsentInformation.ConsentStatus


동의 상태 값

요약

상수

static final int

사용자 동의가 필요하지 않습니다.

static final int

사용자 동의를 얻었습니다.

static final int

사용자 동의가 필요하지만 아직 얻지 못했습니다.

static final int

동의 상태를 알 수 없습니다.

상수

NOT_REQUIRED

public static final int NOT_REQUIRED = 1

사용자 동의가 필요하지 않습니다.

OBTAINED(획득됨)

public static final int OBTAINED = 3

사용자 동의를 얻었습니다. 개인 맞춤 및 개인 맞춤이 아닌 광고 정의되지 않음

REQUIRED

public static final int REQUIRED = 2

사용자 동의가 필요하지만 아직 얻지 못했습니다.

알 수 없음

public static final int UNKNOWN = 0

동의 상태를 알 수 없습니다. ConsentStatus를 업데이트하려면 requestConsentInfoUpdate를 호출해야 합니다.