Documentation
¶
Index ¶
- type CommandController
- func (c *CommandController) DirectSendValue(key dji.Key, value uint64)
- func (c *CommandController) HandleEvent(event *unity.Event, data []byte, tag uint64, wg *sync.WaitGroup)
- func (c *CommandController) PerformAction(key dji.Key, param interface{}, resultHandler ResultHandler) error
- func (c *CommandController) SetValueForKey(key dji.Key, param interface{}, resultHandler ResultHandler) error
- func (c *CommandController) StartListening(key dji.Key, resultHandler ResultHandler) (uint64, error)
- func (c *CommandController) StopListening(key dji.Key, tag uint64) error
- func (c *CommandController) Teardown() error
- type GenericController
- type ResultHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandController ¶
type CommandController struct { *GenericController // contains filtered or unexported fields }
func NewCommandController ¶
func NewCommandController() (*CommandController, error)
func (*CommandController) DirectSendValue ¶
func (c *CommandController) DirectSendValue(key dji.Key, value uint64)
func (*CommandController) HandleEvent ¶
func (*CommandController) PerformAction ¶
func (c *CommandController) PerformAction(key dji.Key, param interface{}, resultHandler ResultHandler) error
func (*CommandController) SetValueForKey ¶
func (c *CommandController) SetValueForKey(key dji.Key, param interface{}, resultHandler ResultHandler) error
func (*CommandController) StartListening ¶
func (c *CommandController) StartListening(key dji.Key, resultHandler ResultHandler) (uint64, error)
func (*CommandController) StopListening ¶
func (c *CommandController) StopListening(key dji.Key, tag uint64) error
func (*CommandController) Teardown ¶
func (c *CommandController) Teardown() error
type GenericController ¶
type GenericController struct {
// contains filtered or unexported fields
}
func NewGenericController ¶
func NewGenericController(eventHandler bridge.EventHandler) *GenericController
func (*GenericController) StartControllingEvent ¶
func (g *GenericController) StartControllingEvent(eventType unity.EventType) error
func (*GenericController) StopControllingEvent ¶
func (g *GenericController) StopControllingEvent(eventType unity.EventType) error
Click to show internal directories.
Click to hide internal directories.