MbmsErrors


public class MbmsErrors
extends Object

java.lang.Object
   ↳ android.telephony.mbms.MbmsErrors


Summary

Nested classes

class MbmsErrors.DownloadErrors

Indicates the errors that are applicable only to the file-download use-case 

class MbmsErrors.GeneralErrors

Indicates the errors that may occur at any point and are applicable to both streaming and file-download. 

class MbmsErrors.GroupCallErrors

Indicates the errors that are applicable only to the group call use-case. 

class MbmsErrors.InitializationErrors

Indicates errors that may be generated during initialization by the middleware. 

class MbmsErrors.StreamingErrors

Indicates the errors that are applicable only to the streaming use-case 

Constants

int ERROR_MIDDLEWARE_LOST

Indicates that the middleware has died and the requested operation was not completed.

int ERROR_MIDDLEWARE_NOT_BOUND

Indicates that the app attempted to perform an operation on an instance of MbmsDownloadSession or MbmsStreamingSession without being bound to the middleware.

int ERROR_NO_UNIQUE_MIDDLEWARE

Indicates that either no MBMS middleware app is installed on the device or multiple middleware apps are installed on the device.

int SUCCESS

Indicates that the operation was successful.

int UNKNOWN

Indicates that the middleware has sent an error code that is not defined in the version of the SDK targeted by your app.

Inherited methods

Constants

ERROR_MIDDLEWARE_LOST

Added in API level 28
public static final int ERROR_MIDDLEWARE_LOST

Indicates that the middleware has died and the requested operation was not completed.

Constant Value: 3 (0x00000003)

ERROR_MIDDLEWARE_NOT_BOUND

Added in API level 28
public static final int ERROR_MIDDLEWARE_NOT_BOUND

Indicates that the app attempted to perform an operation on an instance of MbmsDownloadSession or MbmsStreamingSession without being bound to the middleware.

Constant Value: 2 (0x00000002)

ERROR_NO_UNIQUE_MIDDLEWARE

Added in API level 28
public static final int ERROR_NO_UNIQUE_MIDDLEWARE

Indicates that either no MBMS middleware app is installed on the device or multiple middleware apps are installed on the device.

Constant Value: 1 (0x00000001)

SUCCESS

Added in API level 28
public static final int SUCCESS

Indicates that the operation was successful.

Constant Value: 0 (0x00000000)

UNKNOWN

Added in API level 28
public static final int UNKNOWN

Indicates that the middleware has sent an error code that is not defined in the version of the SDK targeted by your app. This is an illegal value for the middleware to return -- it should only ever be generated by the framework.

Constant Value: -1 (0xffffffff)