UNPKG

@joshfarrant/shortcuts-js

Version:
23 lines 539 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * @action Set Bluetooth * @section Actions > Scripting > Device * @icon Bluetooth * * Sets the device’s Bluetooth to on or off. * * ```js * setBluetooth({ * value: true, * }); * ``` */ const setBluetooth = ({ value = true, }) => ({ WFWorkflowActionIdentifier: 'is.workflow.actions.bluetooth.set', WFWorkflowActionParameters: { OnValue: value, }, }); exports.default = setBluetooth; //# sourceMappingURL=setBluetooth.js.map