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. [...]
deleteMedia(int fileIndex) Future<bool?>
Deletes a specific media file from the Drone (by Index). [...]
disconnectDrone() Future<void>
Disconnects from the DJI Drone. [...]
downloadMedia(int fileIndex) Future<String?>
Downloads a specific media file from the Drone (by Index). [...]
getMediaList() Future<List<Media?>?>
Get the media files list from the Drone (SD Card). [...]
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. [...]