public class DrmConvertedStatus extends Object
DrmManagerClient.convertData()
and
b) a call to DrmManagerClient.closeConvertSession()
.
An valid offset value is provided only from a success call to
DrmManagerClient.closeConvertSession()
.Modifier and Type | Field and Description |
---|---|
byte[] |
convertedData
Converted data.
|
int |
offset
Offset value for the body and header signature.
|
static int |
STATUS_ERROR
Indicate a general failed conversion status.
|
static int |
STATUS_INPUTDATA_ERROR
Indicate a failed conversion status due to input data.
|
static int |
STATUS_OK
Indicate the conversion status is successful.
|
int |
statusCode
Status code for the conversion.
|
Constructor and Description |
---|
DrmConvertedStatus(int statusCode,
byte[] convertedData,
int offset)
Creates a
DrmConvertedStatus object with the specified parameters. |
public static final int STATUS_OK
public static final int STATUS_INPUTDATA_ERROR
public static final int STATUS_ERROR
public final int statusCode
public final byte[] convertedData
public final int offset
public DrmConvertedStatus(int statusCode, byte[] convertedData, int offset)
DrmConvertedStatus
object with the specified parameters.statusCode
- Conversion status. Must be one of the status code constants
defined above.convertedData
- Converted data. It can be null.offset
- Offset value for appending the header and body signature.