DjiHostApi class
Constructors
- DjiHostApi({BinaryMessenger? binaryMessenger})
-
Constructor for DjiHostApi. The
binaryMessenger
named argument is available for dependency injection. If it is left null, the default BinaryMessenger will be used which routes to the host platform.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
connectDrone(
) → Future< void> -
delegateDrone(
) → Future< void> -
deleteMedia(
int arg_fileIndex) → Future< bool> -
disconnectDrone(
) → Future< void> -
downloadMedia(
int arg_fileIndex) → Future< String> -
getBatteryLevel(
) → Future< Battery> -
getMediaList(
) → Future< List< Media?> > -
getPlatformVersion(
) → Future< Version> -
gimbalRotatePitch(
double arg_degrees) → Future< void> -
land(
) → Future< void> -
mobileRemoteController(
bool arg_enabled, double arg_leftStickHorizontal, double arg_leftStickVertical, double arg_rightStickHorizontal, double arg_rightStickVertical) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerApp(
) → Future< void> -
start(
String arg_flightJson) → Future< void> -
takeOff(
) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
-
videoFeedStart(
) → Future< void> -
videoFeedStop(
) → Future< void> -
videoRecordStart(
) → Future< void> -
videoRecordStop(
) → Future< void> -
virtualStick(
bool arg_enabled, double arg_pitch, double arg_roll, double arg_yaw, double arg_verticalThrottle) → Future< void>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
codec
→ const MessageCodec<
Object?>