requestPermissions

override fun requestPermissions(permissions: List<String>, onDeniedResult: (List<PermissionDeniedItem>) -> Unit, onRationaleNeeded: (PermissionRationaleRequest) -> Unit?, onNavigateToSettings: (PermissionSettingsRequest) -> Unit?)

Requests runtime permissions and returns denied results via callback.
Delegates to PermissionRequester for actual permission handling.

런타임 권한을 요청하고 콜백을 통해 거부 결과를 반환합니다.
실제 권한 처리는 PermissionRequester에 위임합니다.

Important / 주의사항:

  • This method MUST be called AFTER super.onCreate() is called.

  • Calling this before super.onCreate() will throw IllegalStateException with message: "PermissionRequester is not initialized. Please call super.onCreate() first."

  • DO NOT call this method inside beforeOnCreated() hook.

  • 이 메서드는 반드시 super.onCreate() 호출 이후에 호출해야 합니다.

  • super.onCreate() 호출 전에 호출하면 IllegalStateException이 발생하며 다음 메시지가 표시됩니다: "PermissionRequester is not initialized. Please call super.onCreate() first."

  • beforeOnCreated() 훅 내부에서는 절대 호출하지 마세요.

Parameters

permissions

Permissions to request.

요청할 권한 목록입니다.

onDeniedResult

Callback invoked with denied items.

거부 항목을 전달받는 콜백입니다.

onRationaleNeeded

Callback for rationale UI when needed.

Call proceed(), cancel(), or defer(policy) inside the callback. Returning without an action auto-cancels the flow.
콜백 안에서 proceed(), cancel(), defer(policy) 중 하나를 호출해야 하며, 아무 액션 없이 반환되면 흐름은 자동 취소됩니다.
필요 시 rationale UI를 제공하는 콜백입니다.

onNavigateToSettings

Callback for settings navigation when needed.

Call proceed(), cancel(), or defer(policy) inside the callback. Returning without an action auto-cancels the flow.
콜백 안에서 proceed(), cancel(), defer(policy) 중 하나를 호출해야 하며, 아무 액션 없이 반환되면 흐름은 자동 취소됩니다.
필요 시 설정 이동을 안내하는 콜백입니다.


override fun requestPermissions(permissions: List<String>, onDeniedResult: (List<PermissionDeniedItem>) -> Unit)

Requests runtime permissions and returns denied results via callback.
Delegates to PermissionRequester for actual permission handling.

런타임 권한을 요청하고 콜백을 통해 거부 결과를 반환합니다.
실제 권한 처리는 PermissionRequester에 위임합니다.

Important / 주의사항:

  • This method MUST be called AFTER super.onCreate() is called.

  • Calling this before super.onCreate() will throw IllegalStateException with message: "PermissionRequester is not initialized. Please call super.onCreate() first."

  • DO NOT call this method inside beforeOnCreated() hook.

  • 이 메서드는 반드시 super.onCreate() 호출 이후에 호출해야 합니다.

  • super.onCreate() 호출 전에 호출하면 IllegalStateException이 발생하며 다음 메시지가 표시됩니다: "PermissionRequester is not initialized. Please call super.onCreate() first."

  • beforeOnCreated() 훅 내부에서는 절대 호출하지 마세요.

Parameters

permissions

Permissions to request.

요청할 권한 목록입니다.

onDeniedResult

Callback invoked with denied items.

거부 항목을 전달받는 콜백입니다.