Android
OA0-002 · Question #142
Which of these is the incorrect method setup when playing a video using a MediaPlayer?
The correct answer is B. setDisplay sets the SurfaceView object you want to associate. See the full explanation below for the reasoning.
Question
Which of these is the incorrect method setup when playing a video using a MediaPlayer?
Options
- AsetDataSource sets the path for the data you want to play.
- BsetDisplay sets the SurfaceView object you want to associate.
- CsetAudioStreamType sets the type, chosen from those defined in AudioManager.
- DsetLooping sets the player repeat to ON/OFF.
How the community answered
(37 responses)- A3% (1)
- B81% (30)
- C11% (4)
- D5% (2)
Community Discussion
No community discussion yet for this question.