public static interface ShadowMediaPlayer.CreateListener
MediaPlayer
instance
is constructed.Modifier and Type | Method | Description |
---|---|---|
void |
onCreate(MediaPlayer player,
ShadowMediaPlayer shadow) |
Method that is invoked when a new
MediaPlayer is created. |
void onCreate(MediaPlayer player, ShadowMediaPlayer shadow)
MediaPlayer
is created. This method is invoked at
the end of the constructor, after all of the default setup has been completed.player
- reference to the newly-created media player object.shadow
- reference to the corresponding shadow object for the newly-created media player
(provided for convenience).