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

Latest commit

 

History

History
79 lines (65 loc) · 6.15 KB

plugins.finalcutpro.notifications.pushover.md

File metadata and controls

79 lines (65 loc) · 6.15 KB

docs » plugins.finalcutpro.notifications.pushover


Pushover Notifications Plugin.

API Overview

API Documentation

Functions

Signature plugins.finalcutpro.notifications.pushover.init() -> none
Type Function
Description Initialises the plugin.
Parameters
  • None
Returns
  • None
Signature plugins.finalcutpro.notifications.pushover.sendNotification(message, [title]) -> none
Type Function
Description Sends a notification.
Parameters
  • message - The message you want to send as a string.
  • [title] - An optional Title for the message as a string.
Returns
  • success - true if successful otherwise false
  • errorMessage - a string containing any error messages
Signature plugins.finalcutpro.notifications.pushover.update() -> none
Type Function
Description Enables or disables Pushover Notifications depending on the user's preferences.
Parameters
  • None
Returns
  • None
Signature plugins.finalcutpro.notifications.pushover.validateAPIKeys(userKey, appKey) -> success, errorMessage
Type Function
Description Validates a Pushover User & Application API Key
Parameters
  • userKey - The User API Key as a string
  • appKey - The Application API Key as a string
Returns
  • success - true if successful otherwise false
  • errorMessage - a string containing any error messages

Fields

Signature plugins.finalcutpro.notifications.pushover.apiValidated <cp.prop: boolean>
Type Field
Description Whether or not the API keys have been validated.
Signature plugins.finalcutpro.notifications.pushover.appAPIKey <cp.prop: string>
Type Field
Description Application API Key
Signature plugins.finalcutpro.notifications.pushover.enabled <cp.prop: boolean>
Type Field
Description Whether or not the plugin has been enabled.
Signature plugins.finalcutpro.notifications.pushover.userAPIKey <cp.prop: string>
Type Field
Description User API Key