Copilot
public protocol Copilot : Peripheral
Peripheral managing copilot
Copilot allows to select the source of piloting commands, either the remote control (default) or the application. Selecting a source prevents the other one from sending any piloting command. The piloting source is automatically reset to {@link Source#REMOTE_CONTROL remote control} when this one is disconnected from the phone.
This peripheral can be retrieved by:
device.getPeripheral(Peripherals.coPilot)
-
Copilot setting
Declaration
Swift
var setting: CopilotSetting { get }