Skip to content

Commit

Permalink
Merge pull request #231 from ksvc/Listener
Browse files Browse the repository at this point in the history
sei listener
  • Loading branch information
dengchu817 authored Jan 30, 2018
2 parents 1e4beeb + 8a52a75 commit 410f07b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,8 @@ public boolean onInfo(IMediaPlayer iMediaPlayer, int i, int i1) {

private IMediaPlayer.OnMessageListener mOnMessageListener = new IMediaPlayer.OnMessageListener() {
@Override
public void onMessage(IMediaPlayer iMediaPlayer, String name, String info, double number) {
Log.e(TAG, "name:" + name + ",info:" + info + ",number:" + number);
public void onMessage(IMediaPlayer iMediaPlayer, Bundle bundle) {
Log.e(TAG, "name:" + bundle.toString());
}
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -326,8 +326,8 @@ public boolean onInfo(IMediaPlayer iMediaPlayer, int i, int i1) {

private IMediaPlayer.OnMessageListener mOnMessageListener = new IMediaPlayer.OnMessageListener() {
@Override
public void onMessage(IMediaPlayer iMediaPlayer, String name, String info, double number) {
Log.e(TAG, "name:" + name + ",info:" + info + ",number:" + number);
public void onMessage(IMediaPlayer iMediaPlayer,Bundle bundle) {
Log.e(TAG, "name:" + bundle.toString());
}
};

Expand Down

0 comments on commit 410f07b

Please sign in to comment.