Language

RoutingSessionInfo.Builder.SetTransferInitiator(UserHandle, String) Method

Definition

Sets the user handle and package name of the process that initiated the transfer.

[Android.Runtime.Register("setTransferInitiator", "(Landroid/os/UserHandle;Ljava/lang/String;)Landroid/media/RoutingSessionInfo$Builder;", "", ApiSince=35)]
public Android.Media.RoutingSessionInfo.Builder SetTransferInitiator(Android.OS.UserHandle? transferInitiatorUserHandle, string? transferInitiatorPackageName);
[<Android.Runtime.Register("setTransferInitiator", "(Landroid/os/UserHandle;Ljava/lang/String;)Landroid/media/RoutingSessionInfo$Builder;", "", ApiSince=35)>]
member this.SetTransferInitiator : Android.OS.UserHandle * string -> Android.Media.RoutingSessionInfo.Builder

Parameters

transferInitiatorUserHandle
UserHandle
transferInitiatorPackageName
String

Returns

Attributes

Remarks

Sets the user handle and package name of the process that initiated the transfer. By default the transfer initiation user handle and package name are set to null.

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

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