PinShortcutRequester
class PinShortcutRequester
Requests pinned shortcuts from composition; obtain one with rememberPinShortcutRequester.
Functions
Link copied to clipboard
Asks the launcher to pin a shortcut described by block, exactly like com.mehdi.shortcut.ShortcutsScope.pinned. Unless block sets its own PinnedShortcutSpec.resultCallback, the requester installs one so the onResult callback passed to rememberPinShortcutRequester fires when the user confirms.