Android.Media.AudioManager.SetRouting Method
Sets the audio routing for a specified mode

Syntax

[Android.Runtime.Register("setRouting", "(III)V", "GetSetRouting_IIIHandler")]
[System.Obsolete("deprecated")]
public virtual void SetRouting ([Android.Runtime.GeneratedEnum] Mode mode, [Android.Runtime.GeneratedEnum] Route routes, [Android.Runtime.GeneratedEnum] Route mask)

Parameters

mode
audio mode to change route. E.g., MODE_RINGTONE.
routes
bit vector of routes requested, created from one or more of ROUTE_xxx types. Set bits indicate that route should be on
mask
bit vector of routes to change, created from one or more of ROUTE_xxx types. Unset bits indicate the route should be left unchanged

Remarks

Sets the audio routing for a specified mode

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1