#plugins.core.touchbar.location

Virtual Touch Bar Update Location Callback


#API Overview

Methods - API calls which can only be made on an object returned by a constructor


#API Documentation

#Methods

Signatureplugins.core.touchbar.location:callbackFn() -> function
TypeMethod
DescriptionReturns the callbackFn of the current Update Location Callback
Parameters
  • None
Returns
  • The callbackFn of the current Shutdown Callback
NotesNone
ExamplesNone
Sourcesrc/plugins/core/touchbar/virtual/location.lua line 79

Signatureplugins.core.touchbar.location:delete() -> none
TypeMethod
DescriptionDeletes a Update Location Callback based on an ID.
Parameters
  • None
Returns
  • None
NotesNone
ExamplesNone
Sourcesrc/plugins/core/touchbar/virtual/location.lua line 92

Signatureplugins.core.touchbar.location:get(id) -> table
TypeMethod
DescriptionGets 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
NotesNone
ExamplesNone
Sourcesrc/plugins/core/touchbar/virtual/location.lua line 40

Signatureplugins.core.touchbar.location:getAll() -> table
TypeMethod
DescriptionReturns all of the created Update Location Callbacks
Parameters
  • None
Returns
  • table containing all of the created callbacks
NotesNone
ExamplesNone
Sourcesrc/plugins/core/touchbar/virtual/location.lua line 53

Signatureplugins.core.touchbar.location:id() -> string
TypeMethod
DescriptionReturns 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
NotesNone
ExamplesNone
Sourcesrc/plugins/core/touchbar/virtual/location.lua line 66

Signatureplugins.core.touchbar.location:new(id, callbackFn) -> table
TypeMethod
DescriptionCreates a new Update Location Callback
Parameters
  • id - The unique ID for this callback.
  • callbackFn - The callback function.
Returns
  • table that has been created
NotesNone
ExamplesNone
Sourcesrc/plugins/core/touchbar/virtual/location.lua line 13