KioskExtension
open class KioskExtension : Disposable, AutoCloseable, KioskExtensionInterface
A typed view of a 0x2::kiosk_extension::Extension held in a dynamic field of a Kiosk object.
Functions
| Name | Summary |
|---|---|
| close | @Synchronized open override fun close() |
| destroy | open override fun destroy() |
| isEnabled | open override fun isEnabled(): Boolean Whether the extension is currently allowed to call protected actions. |
| permissions | open override fun permissions(): String Bitmap of the permissions granted to the extension, as a decimal string: bit 0 is place, bit 1 is lock (which also grants place). |
| storageId | open override fun storageId(): ObjectId Object ID of the Bag holding the extension's own storage. |
| toString | open override fun toString(): String |
Companion object functions
| Name | Summary |
|---|---|
| tryFromBcs | fun tryFromBcs(bytes: ByteArray): KioskExtension Decode an Extension from raw BCS bytes. |