[View]  [Edit]  [Lock]  [References]  [Attachments]  [History]  [Home]  [Changes]  [Search]  [Help] 

test[dji8-ios] 31 MissionControl

" Accessing MissionControl & properties "
| value |
value := DJISDKManager missionControl.
value isNil ifTrue: [
	self print: 'Missing value'.
	^self abortPage
].
(value class selectors
  select: [:each| (each startsWith: #is) and: [each argumentCount = 0] ])
  ,#(	currentTimelineMarker scheduledTriggersCount
	waypointMissionOperator
	hotpointMissionOperator
	followMeMissionOperator
	activeTrackMissionOperator
	tapFlyMissionOperator
	panoramaMissionOperator
  ) do: [:msg| self print: ' ',msg,'=',(value perform: msg) ].