question: public static PlayStateStatus convertTransportStateToPlayStateStatus ( String transportState ) { PlayStateStatus status = PlayStateStatus . Unknown ; if ( transportState . equals ( "STOPPED" ) ) { status = PlayStateStatus . Finished ; } else if ( transportState . equals ( "PLAYING" ) ) { status = PlayStateStatus . Playing ; } else if ( transportState . equals ( "TRANSITIONING" ) ) { status = PlayStateStatus . Buffering ; } else if ( transportState . equals ( "PAUSED_PLAYBACK" ) ) { status = PlayStateStatus . Paused ; } else if ( transportState . equals ( "PAUSED_RECORDING" ) ) { } else if ( transportState . equals ( "RECORDING" ) ) { } else if ( transportState . equals ( "NO_MEDIA_PRESENT" ) ) { } return status ; }
target:  Converts String value into PlayStateStatus