RoutingSessionInfo.Builder.SetTransferReason(Int32) 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.
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.