RemoteControlClient.SetTransportControlFlags(RemoteControlFlags) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
deprecated
Sets the flags for the media transport control buttons that this client supports.
[Android.Runtime.Register("setTransportControlFlags", "(I)V", "GetSetTransportControlFlags_IHandler")]
[System.Obsolete("deprecated")]
public virtual void SetTransportControlFlags (Android.Media.RemoteControlFlags transportControlFlags);
[<Android.Runtime.Register("setTransportControlFlags", "(I)V", "GetSetTransportControlFlags_IHandler")>]
[<System.Obsolete("deprecated")>]
abstract member SetTransportControlFlags : Android.Media.RemoteControlFlags -> unit
override this.SetTransportControlFlags : Android.Media.RemoteControlFlags -> unit
Parameters
- transportControlFlags
- RemoteControlFlags
A combination of the following flags:
#FLAG_KEY_MEDIA_PREVIOUS
,
#FLAG_KEY_MEDIA_REWIND
,
#FLAG_KEY_MEDIA_PLAY
,
#FLAG_KEY_MEDIA_PLAY_PAUSE
,
#FLAG_KEY_MEDIA_PAUSE
,
#FLAG_KEY_MEDIA_STOP
,
#FLAG_KEY_MEDIA_FAST_FORWARD
,
#FLAG_KEY_MEDIA_NEXT
,
#FLAG_KEY_MEDIA_POSITION_UPDATE
,
#FLAG_KEY_MEDIA_RATING
.
- Attributes
Remarks
Sets the flags for the media transport control buttons that this client supports.
Java documentation for android.media.RemoteControlClient.setTransportControlFlags(int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.