int function ( ) { return TransportMediator . FLAG_KEY_MEDIA_PLAY | TransportMediator . FLAG_KEY_MEDIA_PLAY_PAUSE | TransportMediator . FLAG_KEY_MEDIA_PAUSE | TransportMediator . FLAG_KEY_MEDIA_STOP ; }
retrieves the flags for the media transport control buttons that this transport supports . result is a combination of the following flags : transportmediator #flag_key_media_previous , transportmediator #flag_key_media_rewind , transportmediator #flag_key_media_play , transportmediator #flag_key_media_play_pause , transportmediator #flag_key_media_pause , transportmediator #flag_key_media_stop , transportmediator #flag_key_media_fast_forward , transportmediator #flag_key_media_next the default implementation returns : transportmediator #flag_key_media_play , transportmediator #flag_key_media_play_pause , transportmediator #flag_key_media_pause , and transportmediator #flag_key_media_stop concode_field_sep int AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK concode_elem_sep int AUDIOFOCUS_LOSS_TRANSIENT_CAN_DUCK concode_elem_sep int AUDIOFOCUS_LOSS_TRANSIENT concode_elem_sep int AUDIOFOCUS_GAIN_TRANSIENT concode_elem_sep int AUDIOFOCUS_GAIN concode_elem_sep int AUDIOFOCUS_LOSS concode_field_sep long onGetCurrentPosition concode_elem_sep void onAudioFocusChange concode_elem_sep void onSeekTo concode_elem_sep void onStart concode_elem_sep boolean onMediaButtonUp concode_elem_sep boolean onIsPlaying concode_elem_sep long onGetDuration concode_elem_sep int onGetBufferPercentage concode_elem_sep boolean onMediaButtonDown concode_elem_sep void onPause concode_elem_sep void onStop