| Package | Description |
|---|---|
| org.robolectric.shadows |
Package containing shadow classes for the Android SDK.
|
| Modifier and Type | Method and Description |
|---|---|
ShadowMediaPlayer.MediaEvent |
ShadowMediaPlayer.MediaInfo.scheduleBufferUnderrunAtOffset(int offset,
int length)
Schedules a simulated buffer underrun event to run at the specified
playback offset.
|
ShadowMediaPlayer.MediaEvent |
ShadowMediaPlayer.MediaInfo.scheduleErrorAtOffset(int offset,
int what,
int extra)
Schedules an error event to run at the specified playback offset.
|
ShadowMediaPlayer.MediaEvent |
ShadowMediaPlayer.MediaInfo.scheduleInfoAtOffset(int offset,
int what,
int extra)
Schedules an info event to run at the specified playback offset.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ShadowMediaPlayer.postEvent(ShadowMediaPlayer.MediaEvent e) |
void |
ShadowMediaPlayer.postEventDelayed(ShadowMediaPlayer.MediaEvent e,
long delay) |
void |
ShadowMediaPlayer.MediaInfo.removeEvent(ShadowMediaPlayer.MediaEvent event)
Removes the specified event from the playback schedule at all playback
offsets where it has been scheduled.
|
void |
ShadowMediaPlayer.MediaInfo.removeEventAtOffset(int offset,
ShadowMediaPlayer.MediaEvent event)
Removes the specified event from the playback schedule at the given
playback offset.
|
void |
ShadowMediaPlayer.MediaInfo.scheduleEventAtOffset(int offset,
ShadowMediaPlayer.MediaEvent event)
Schedules a generic event to run at the specified playback offset.
|
Copyright © 2016. All rights reserved.