@joshfarrant/shortcuts-js
Version:
An iOS 12 Shortcuts creator
23 lines • 539 B
JavaScript
;
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