第七章测试
1.下列选项中,设置MediaPlayer网络音频文件数据源的方法的是_____。
A:setDataPath() B:load() C:create() D:setDataSource()
答案:D
2.使用create()方法创建的MediaPlayer实例处于_____状态。
A:Prepared B:Initialized C:Idle D:Started 3.下列选项中,调用_____方法能够设置MediaPlayer实例在子线程中执行异步操作。
A:setDataSource() B:seekTo() C:prepare() D:prepareAsync() 4.VideoView中指定需要播放URI视频地址使用的方法是_____。
A:setVideoPath() B:setVideoURI() C:setURI() D:setDataSource() 5.VideoView中设置播放器进度条使用的方法是_____。
A:setVideoPath() B:setVideoURI() C:setMediaController() D:setVideoURL() 6.在百度语音合成中需要合成播放声音调用_____方法。
A:speak() B:synthesize() C:resume() D:batchSpeak() 7.在百度AI语音合成中要使用_____ 类实例对象。
A:Speech B:SpeechRecognizer C:SpeechConstant D:SpeechSynthesizer 8.MediaPlayer能够同时播放多个音频。
A:对 B:错 9.使用Glide图片加载库时,使用方法Glide.with(Context context).load(String url).into(ImageView imageView)可以访问网络图片。
A:对 B:错 10.Google提供了ZXing工具,可以完成生成二维码和解析二维码的操作。
A:对 B:错

温馨提示支付 ¥3.00 元后可查看付费内容,请先翻页预览!
点赞(101) dxwkbang
返回
顶部