Unrestricted

Properties

Link copied to clipboard
open override val canCopy: Boolean = true

Returns whether the user is currently allowed to copy content to the pasteboard.

Link copied to clipboard
open override val canPrint: Boolean = true

Returns whether the user is currently allowed to print the content.

Functions

Link copied to clipboard
open override fun canCopy(text: String): Boolean

Returns whether the user is allowed to copy the given text to the pasteboard.

Link copied to clipboard
open override fun canPrint(pageCount: Int): Boolean

Returns whether the user is allowed to print the given amount of pages.

Link copied to clipboard
open suspend override fun copy(text: String): Boolean

Consumes the given text with the copy right.

Link copied to clipboard
open suspend override fun print(pageCount: Int): Boolean

Consumes the given amount of pages with the print right.