Skip to content
This repository was archived by the owner on Jun 9, 2023. It is now read-only.

Latest commit

 

History

History
66 lines (55 loc) · 4.91 KB

File metadata and controls

66 lines (55 loc) · 4.91 KB

docs » plugins.core.touchbar.location


Virtual Touch Bar Update Location Callback

API Overview

API Documentation

Methods

Signature plugins.core.touchbar.location:callbackFn() -> function
Type Method
Description Returns the callbackFn of the current Update Location Callback
Parameters
  • None
Returns
  • The callbackFn of the current Shutdown Callback
Signature plugins.core.touchbar.location:delete() -> none
Type Method
Description Deletes a Update Location Callback based on an ID.
Parameters
  • None
Returns
  • None
Signature plugins.core.touchbar.location:get(id) -> table
Type Method
Description Gets an Update Location Callback based on an ID.
Parameters
  • id - The unique ID for the callback you want to return.
Returns
  • table containing the callback
Signature plugins.core.touchbar.location:getAll() -> table
Type Method
Description Returns all of the created Update Location Callbacks
Parameters
  • None
Returns
  • table containing all of the created callbacks
Signature plugins.core.touchbar.location:id() -> string
Type Method
Description Returns the ID of the current Update Location Callback
Parameters
  • None
Returns
  • The ID of the current File Dropped to Dock Icon Callback as a string
Signature plugins.core.touchbar.location:new(id, callbackFn) -> table
Type Method
Description Creates a new Update Location Callback
Parameters
  • id - The unique ID for this callback.
Returns
  • table that has been created