Dji class Null safety
Constructors
- Dji()
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited
Static Properties
-
batteryLevel
→ Future<
int?> -
Gets the battery level. [...]
read-only
-
platformVersion
→ Future<
String?> -
Gets the platform version. [...]
read-only
Static Methods
-
connectDrone(
) → Future< void> - Connects with the DJI Drone. [...]
-
delegateDrone(
) → Future< void> - Starts Listening to DJI Drone status changes. [...]
-
deleteAllMedia(
) → Future< void> - Deletes all media files from the Drone. [...]
-
disconnectDrone(
) → Future< void> - Disconnects from the DJI Drone. [...]
-
downloadAllMedia(
) → Future< void> - Downloads all media files from the Drone. [...]
-
land(
) → Future< void> - Triggers the DJI Drone Land action. [...]
-
registerApp(
) → Future< void> - Registers the app at DJI. [...]
-
start(
{required Flight flight}) → Future< void> - Starts the DJI Drone Flight Timeline. [...]
-
takeOff(
) → Future< void> - Triggers the DJI Drone Take Off action. [...]
-
timeline(
) → Future< void> -
Triggers the DJI Drone pre-defined Timeline.
@Deprecated('Use [start] instead.')