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

test[dji8-ios] 41 VideoFeeder

" Accessing VideoFeeder & properties "
| value |
value := DJISDKManager videoFeeder.
value isNil ifTrue: [
	self print: 'Missing value'.
	^self abortPage
].
(value class selectors
  select: [:each| (each startsWith: #is) and: [each argumentCount = 0] ])
  ,#(	primaryVideoFeed
	secondaryVideoFeed
  ) do: [:msg| self print: ' ',msg,'=',(value perform: msg) ].


" Accessing primaryVideoFeed & properties "
| value |
value := DJISDKManager videoFeeder primaryVideoFeed.
value isNil ifTrue: [
	self print: 'Missing value'.
	^self abortPage
].
(value class selectors
  select: [:each| (each startsWith: #is) and: [each argumentCount = 0] ])
  ,#(	physicalSource
  ) do: [:msg| self print: ' ',msg,'=',(value perform: msg) ].