errorCode property

int errorCode
final

The error code identifying the type of error that occurred.

The error code is one of the constants provided by the PlaybackError class, such as unknown, sourceNotFound, codecError, etc.

The error code can be used to identify the type of error that occurred and to provide a user-friendly error message to the user.

Implementation

final int errorCode;