@joshfarrant/shortcuts-js
Version:
An iOS 12 Shortcuts creator
20 lines (19 loc) • 458 B
TypeScript
import WFWorkflowAction from '../interfaces/WF/WFWorkflowAction';
/**
* @action Set Brightness
* @section Actions > Scripting > Device
* @icon Brightness
*
* Sets the device brightness.
*
* ```js
* setBrightness({
* brightness: 75,
* });
* ```
*/
declare const setBrightness: ({ brightness, }: {
/** The brightness percentage value from 0 to 100 */
brightness?: number | undefined;
}) => WFWorkflowAction;
export default setBrightness;