MediaRouter.UserRouteInfo.SetPlaybackType(MediaPlaybackType) Method

Definition

Defines whether playback associated with this route is "local" (RouteInfo#PLAYBACK_TYPE_LOCAL) or "remote" (RouteInfo#PLAYBACK_TYPE_REMOTE).

[Android.Runtime.Register("setPlaybackType", "(I)V", "GetSetPlaybackType_IHandler")]
public virtual void SetPlaybackType (Android.Media.MediaPlaybackType type);
[<Android.Runtime.Register("setPlaybackType", "(I)V", "GetSetPlaybackType_IHandler")>]
abstract member SetPlaybackType : Android.Media.MediaPlaybackType -> unit
override this.SetPlaybackType : Android.Media.MediaPlaybackType -> unit

Parameters

type
MediaPlaybackType

type

Attributes

Remarks

Defines whether playback associated with this route is "local" (RouteInfo#PLAYBACK_TYPE_LOCAL) or "remote" (RouteInfo#PLAYBACK_TYPE_REMOTE).

Java documentation for android.media.MediaRouter.UserRouteInfo.setPlaybackType(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.

Applies to