/tripkit/TripKitAndroidUI/com.skedgo.tripkit.ui.core.permissions

Package-level declarations

Types

Name Summary
ActionResult enum ActionResult : Enum<ActionResult>
PermissionDenialError class PermissionDenialError : RuntimeException
PermissionResult sealed class PermissionResult
PermissionsRequest sealed class PermissionsRequest

Properties

Name Summary
REQUEST_CALENDAR_PERMISSION const val REQUEST_CALENDAR_PERMISSION: Int = 12
REQUEST_LOCATION_PERMISSION const val REQUEST_LOCATION_PERMISSION: Int = 11

Functions

Name Summary
dealWithNeverAskAgainDenial fun Activity.dealWithNeverAskAgainDenial(message: String): () -> Unit
findContentLayout fun Activity.findContentLayout(): View
showGenericRationale fun Activity.showGenericRationale(title: String? = null, message: String): () -> Single<ActionResult>