Language

RoutingSessionInfo.Builder.SetTransferReason(Int32) Method

Definition

Sets transfer reason for the current session.

[Android.Runtime.Register("setTransferReason", "(I)Landroid/media/RoutingSessionInfo$Builder;", "", ApiSince=35)]
public Android.Media.RoutingSessionInfo.Builder SetTransferReason(int transferReason);
[<Android.Runtime.Register("setTransferReason", "(I)Landroid/media/RoutingSessionInfo$Builder;", "", ApiSince=35)>]
member this.SetTransferReason : int -> Android.Media.RoutingSessionInfo.Builder

Parameters

transferReason
Int32

Value is one of the following: RoutingSessionInfo.TRANSFER_REASON_FALLBACK RoutingSessionInfo.TRANSFER_REASON_SYSTEM_REQUEST RoutingSessionInfo.TRANSFER_REASON_APP

Returns

Attributes

Remarks

Sets transfer reason for the current session. By default the transfer reason is set to RoutingSessionInfo.TRANSFER_REASON_FALLBACK.

Android reference for android.media.RoutingSessionInfo.Builder.setTransferReason.

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