CONNECT Player SDK 5 for Android

QuickMark errors

Register a callback with Watermark to handle quickmark/watermark errors.

Java
/**
  *  Register a callback on Watermark object
  */
public void addErrorListener(WatermarkErrorListener listener);

Application should implement WatermarkErrorListerner while registering .

errorId

Description

Application error handling recommendation

INVALID_TOKEN = 1



INVALID_URL = 2



CANNOT_CONTACT_SERVER = 3



INVALID_SERVER_ANSWER = 4



CANNOT_CONNECT = 5

Unable to connect to the Server.

No retry

CANNOT_FIND_HOST = 6

Unable to find the HOST.

No retry

CERTIFICATE_ERROR = 7

SSL certificate error for HTTPS.

No retry

NETWORK_ERROR = 8



HTTP_CLT_BAD_REQUEST = 9

The server returned HTTP 400.

No retry

HTTP_CLT_UNAUTHORIZED = 10

The server returned HTTP 401.

No retry

HTTP_CLT_FORBIDDEN = 11

The server returned HTTP 403.

No retry

HTTP_OTHER_ERRORS = 12

The server returned an HTTP error.

No retry

SERVER_TIMEOUT = 13

The server took too much time to respond.

No retry

INVALID_SERVER_RESPONSE = 14

The server response is not valid.

No retry

PULL_MODE_INVALID_BLOB = 15

Invalid blob received in pull mode.


UPDATE_BLOB_NOT_IN_PUSH_MODE = 20

Update blob not in push mode.


PUSH_MODE_INVALID_BLOB = 21

Parse blob error.