public @interface

SessionResult.Code

implements java.lang.annotation.Annotation

 androidx.media3.session.SessionResult.Code

Overview

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.

Summary