verifyAge

fun UserApiClient.verifyAge(context: Context, ageLimit: Int? = null, authLevel: AgeAuthLevel? = null, skipTerms: Boolean? = null, adultsOnly: Boolean? = null, underAge: Boolean? = false, callback: (error: Throwable?) -> Unit)

연령인증 페이지 호출하기
Request age verification

Parameters

context

Android Context

ageLimit

제한 연령
Age limit

authLevel

연령인증 레벨(AUTH_LEVEL1: 1차 연령인증 | AUTH_LEVEL2: 2차, 본인인증)
Age verification level (AUTH_LEVEL1: Level 1, Age verification | AUTH_LEVEL2: Level 2, Identity verification)

skipTerms

동의 화면 출력 여부
Whether to display the consent screen

adultsOnly

서비스의 청소년유해매체물 인증 필요 여부
Whether the service requires age verification due to the media harmful to youth

underAge

연령인증 페이지 구분 여부(기본값: false)
Whether to separate age verification pages (default: false)


fun RxUserApiClient.verifyAge(context: Context, ageLimit: Int? = null, authLevel: AgeAuthLevel? = null, skipTerms: Boolean? = null, adultsOnly: Boolean? = null, underAge: Boolean? = false): Completable

연령인증 페이지 호출하기
Request age verification

Parameters

context

Android Context

ageLimit

제한 연령
Age limit

authLevel

연령인증 레벨(AUTH_LEVEL1: 1차, 연령인증 | AUTH_LEVEL2: 2차, 본인인증)
Age verification level (AUTH_LEVEL1: Level 1, Age verification | AUTH_LEVEL2: Level 2, Identity verification)

skipTerms

동의 화면 출력 여부
Whether to display the consent screen

adultsOnly

서비스의 청소년유해매체물 인증 필요 여부
Whether the service requires age verification due to the media harmful to youth

underAge

연령인증 페이지 구분 여부(기본값: false)
Whether to separate age verification pages (default: false)