Dji class
Constructors
- Dji()
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent 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.
no setter
-
platformVersion
→ Future<
String?> -
Gets the platform version.
no setter
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's SD card (by Index).
-
disconnectDrone(
) → Future< void> - Disconnects from the DJI Drone.
-
downloadMedia(
int fileIndex) → Future< String?> - Downloads a specific media file from the Drone's SD card (by Index).
-
getMediaList(
) → Future< List< Media?> ?> - Get the media files list from the Drone (SD card).
-
gimbalRotatePitch(
{required double degrees}) → Future< void> - Update Gimbal pitch value in degrees
-
land(
) → Future< void> - Triggers the DJI Drone Land action.
-
mobileRemoteController(
{required bool enabled, required double leftStickHorizontal, required double leftStickVertical, required double rightStickHorizontal, required double rightStickVertical}) → Future< void> - Update Mobile Remote Controller Sticks Data (via Wifi)
-
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.
-
videoFeedStart(
) → Future< void> - Starts the DJI Video Feeder.
-
videoFeedStop(
) → Future< void> - Stops the DJI Video Feeder.
-
videoRecordStart(
) → Future< void> - Starts the DJI Video Recorder.
-
videoRecordStop(
) → Future< void> - Stops the DJI Video Recorder.
-
virtualStick(
{required bool enabled, required double pitch, required double roll, required double yaw, required double verticalThrottle}) → Future< void> - Update Virtual Stick flight controller data (via physical remote controller)