Instance Method

setIdleTimeout(timeout:)

Configures the period since the last activity before the Peripheral powers off automatically to conserve battery.

Declaration

func setIdleTimeout(timeout: TimeInterval) -> Bool

Return Value

Indicates whether the command was executed on the Peripheral.

Parameters

timeout

The period of inactivity before the Peripheral will power off.