RunningMode

public enum RunningMode


MediaPipe audio task running mode. A MediaPipe audio task can be run with two different modes:

  • AUDIO_CLIPS: The mode for running a mediapipe audio task on independent audio clips.
  • AUDIO_STREAM: The mode for running a mediapipe audio task on an audio stream, such as from a microphone.

Summary

Public methods

static RunningMode

Returns the enum constant of this type with the specified name.

static RunningMode[]

Returns an array containing the constants of this enum type, in the order they're declared.

Public methods

valueOf

public static RunningMode valueOf(String name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Returns
RunningMode

the enum constant with the specified name

Throws
java.lang.IllegalArgumentException

if this enum type has no constant with the specified name

values

public static RunningMode[] values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.

Returns
RunningMode[]

an array containing the constants of this enum type, in the order they're declared