Android.Media.Audiofx.Virtualizer.CanVirtualize Method
Checks if the combination of a channel mask and virtualization mode is supported by this virtualizer.

Syntax

[Android.Runtime.Register("canVirtualize", "(II)Z", "GetCanVirtualize_IIHandler")]
public virtual bool CanVirtualize ([Android.Runtime.GeneratedEnum] Android.Media.ChannelIn inputChannelMask, [Android.Runtime.GeneratedEnum] VirtualizationMode virtualizationMode)

Parameters

inputChannelMask
the channel mask of the content to virtualize.
virtualizationMode
the mode for which virtualization processing is to be performed, one of Virtualizer.VIRTUALIZATION_MODE_BINAURAL, Virtualizer.VIRTUALIZATION_MODE_TRANSAURAL.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
!:NoType:IllegalStateException
!:NoType:IllegalArgumentException
Java.Lang.UnsupportedOperationException
Java.Lang.IllegalStateException
Java.Lang.IllegalArgumentException

Remarks

Checks if the combination of a channel mask and virtualization mode is supported by this virtualizer. Some virtualizer implementations may only support binaural processing (i.e. only support headphone output, see Virtualizer.VIRTUALIZATION_MODE_BINAURAL), some may support transaural processing (i.e. for speaker output, see Virtualizer.VIRTUALIZATION_MODE_TRANSAURAL) for the built-in speakers. Use this method to query the virtualizer implementation capabilities.

[Android Documentation]

Requirements

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