Android.Media.Session.MediaSession.SetPlaybackToLocal Method
Set the attributes for this session's audio.

Syntax

[Android.Runtime.Register("setPlaybackToLocal", "(Landroid/media/AudioAttributes;)V", "")]
public void SetPlaybackToLocal (Android.Media.AudioAttributes attributes)

Parameters

attributes
The Android.Media.AudioAttributes for this session's audio.

Remarks

Set the attributes for this session's audio. This will affect the system's volume handling for this session. If MediaSession.SetPlaybackToRemote(Android.Media.VolumeProvider) was previously called it will stop receiving volume commands and the system will begin sending volume changes to the appropriate stream.

By default sessions use attributes for media.

[Android Documentation]

Requirements

Namespace: Android.Media.Session
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0