Permission

class Permission(permissionPointer: CPointer<GPermission>)

kotlinx-gtk

16 / 03 / 2021

See also

Constructors

Permission
Link copied to clipboard
fun Permission(permissionPointer: CPointer<GPermission>)

Types

Companion
Link copied to clipboard
object Companion

Functions

acquire
Link copied to clipboard
fun acquire(cancellable: KGCancellable? = null): Boolean
acquireAsync
Link copied to clipboard
fun acquireAsync(cancellable: KGCancellable? = null, callback: AsyncReadyCallback)
acquireFinish
Link copied to clipboard
fun acquireFinish(asyncResult: AsyncResult): Boolean
implUpdate
Link copied to clipboard
fun implUpdate(allowed: Boolean, canAcquire: Boolean, canRelease: Boolean)
release
Link copied to clipboard
fun release(cancellable: KGCancellable? = null): Boolean
releaseAsync
Link copied to clipboard
fun releaseAsync(cancellable: KGCancellable? = null, callback: AsyncReadyCallback)
releaseFinish
Link copied to clipboard
fun releaseFinish(asyncResult: AsyncResult): Boolean

Properties

allowed
Link copied to clipboard
val allowed: Boolean
canAcquire
Link copied to clipboard
val canAcquire: Boolean
canRelease
Link copied to clipboard
val canRelease: Boolean
permissionPointer
Link copied to clipboard
val permissionPointer: CPointer<GPermission>