Contents

setPower(_:)

Sets the interface power state.

Declaration

func setPower(_ power: Bool) throws

Parameters

  • power:

    A Boolean value corresponding to the power state. NO indicates the “OFF” state.

Discussion

This operation may require an administrator password.

See Also

Setting interface parameters