单项选择题

MediaPlayer播放资源前,需要调用()方法完成准备工作。

A.setDataSource
B.prepare
C.begin
D.pause