DriTypeSetting
public protocol DriTypeSetting : AnyObject
Setting to configure DRI type.
-
DRI type configuration state, when available.
Declaration
Swift
var state: DriTypeState? { get }
-
DRI types supported by the drone.
Declaration
Swift
var supportedTypes: Set<DriType> { get }
-
DRI type configuration as defined by the user.
Trying to set this value to an unsupported or invalid DRI type configuration will fail. See
DriTypeConfig.isValid
to verify that the configuration is valid.This configuration is sent to the drone when its changed by the user and at every connection to the drone. When
nil
, nothing is sent to the drone.Declaration
Swift
var type: DriTypeConfig? { get set }