StreamingService
public
class
StreamingService
extends Object
implements
AutoCloseable
| java.lang.Object | |
| ↳ | android.telephony.mbms.StreamingService |
Class used to represent a single MBMS stream. After a stream has been started with
MbmsStreamingSession.startStreaming(StreamingServiceInfo,java.util.concurrent.Executor,StreamingServiceCallback),
this class is used to hold information about the stream and control it.
Summary
Constants | |
|---|---|
int |
BROADCAST_METHOD
The method of transmission currently used for a stream,
reported via |
int |
REASON_BY_USER_REQUEST
State changed due to a call to |
int |
REASON_END_OF_SESSION
State changed due to the streaming session ending at the carrier. |
int |
REASON_FREQUENCY_CONFLICT
State changed due to a frequency conflict with another requested stream. |
int |
REASON_LEFT_MBMS_BROADCAST_AREA
State changed due to the device leaving the where this stream is being broadcast. |
int |
REASON_NONE
Indicates that the middleware does not have a reason to provide for the state change. |
int |
REASON_NOT_CONNECTED_TO_HOMECARRIER_LTE
State changed due to the device leaving the home carrier's LTE network. |
int |
REASON_OUT_OF_MEMORY
State changed due to the middleware running out of memory |
int |
STATE_STALLED
|
int |
STATE_STARTED
|
int |
STATE_STOPPED
|
int |
UNICAST_METHOD
|
Public methods | |
|---|---|
void
|
close()
Stop streaming this service. |
StreamingServiceInfo
|
getInfo()
Retrieve the |
Uri
|
getPlaybackUri()
Retrieve the Uri used to play this stream. |