SessionResult.Code


@Documented
@Retention(value = RetentionPolicy.SOURCE)
@Target(value = ElementType.TYPE_USE)
@IntDef(value = [SessionError.INFO_CANCELLEDSessionError.ERROR_UNKNOWNSessionError.ERROR_INVALID_STATESessionError.ERROR_BAD_VALUESessionError.ERROR_PERMISSION_DENIEDSessionError.ERROR_IOSessionError.ERROR_SESSION_DISCONNECTEDSessionError.ERROR_NOT_SUPPORTEDSessionError.ERROR_SESSION_AUTHENTICATION_EXPIREDSessionError.ERROR_SESSION_PREMIUM_ACCOUNT_REQUIREDSessionError.ERROR_SESSION_CONCURRENT_STREAM_LIMITSessionError.ERROR_SESSION_PARENTAL_CONTROL_RESTRICTEDSessionError.ERROR_SESSION_NOT_AVAILABLE_IN_REGIONSessionError.ERROR_SESSION_SKIP_LIMIT_REACHEDSessionError.ERROR_SESSION_SETUP_REQUIRED])
annotation SessionResult.Code


Result codes.

  • Error code: Negative integer
  • Success code: 0
  • Info code: Positive integer
  • 0 < |code| < 100 : Reserved for Player specific code.
  • 100 <= |code| < 500 : Session/Controller specific code.
  • 500 <= |code| < 1000 : Browser/Library session specific code.
  • 1000 <= |code| : Reserved for Player custom code.