RoutingSessionInfo.Builder.SetTransferInitiator(UserHandle, String) 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 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.