Share via


EffectFactory.IsEffectSupported(String) Method

Definition

Check if an effect is supported on this platform.

[Android.Runtime.Register("isEffectSupported", "(Ljava/lang/String;)Z", "")]
public static bool IsEffectSupported (string? effectName);
[<Android.Runtime.Register("isEffectSupported", "(Ljava/lang/String;)Z", "")>]
static member IsEffectSupported : string -> bool

Parameters

effectName
String

The name of the effect.

Returns

true, if the effect is supported on this platform.

Attributes

Exceptions

if the effect name is not known.

Remarks

Check if an effect is supported on this platform.

Some effects may only be available on certain platforms. Use this method before instantiating an effect to make sure it is supported.

Java documentation for android.media.effect.EffectFactory.isEffectSupported(java.lang.String).

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