com.google.mediapipe.tasks.core

Interfaces

EmbeddingProvider

Interface for generating embeddings across different modalities using content parts.

ErrorListener

Interface for the customizable MediaPipe task error listener.

JniConfigContract

Contract interface defining runtime JNI library getters for MediaPipe Tasks.

OutputHandler.OutputPacketConverter

Interface for converting MediaPipe graph output Packets to task result object and task input object.

OutputHandler.ProgressListener

Interface for the customizable MediaPipe task result listener that receives partial task updates until it is invoked with `done` set to true.

OutputHandler.PureResultListener

Interface for the customizable MediaPipe task result listener that can only retrieve task result objects.

OutputHandler.ResultListener

Interface for the customizable MediaPipe task result listener that can retrieve both task result objects and the corresponding input data.

OutputHandler.ValueListener

Interface for the customizable MediaPipe task result listener that only receives a task's output value.

TaskResult

Interface for the MediaPipe Task result.

Classes

AudioPart

Represents an audio part of a multi-modal content block.

BaseOptions

Options to configure MediaPipe Tasks in general.

BaseOptions.Builder

Builder for BaseOptions.

BaseOptions.DelegateOptions

Advanced config options for the used delegate.

BaseOptions.DelegateOptions.CpuOptions

Options for CPU.

BaseOptions.DelegateOptions.CpuOptions.Builder

Builder for CpuOptions.

BaseOptions.DelegateOptions.GpuOptions

Options for GPU.

BaseOptions.DelegateOptions.GpuOptions.Builder

Builder for GpuOptions.

BaseOptions.DelegateOptions.NpuOptions

Options for NPU.

BaseOptions.DelegateOptions.NpuOptions.Builder

Builder for NpuOptions.

BaseOptionsUtils

Utility for BaseOptions.

ImagePart

Represents an image part of a multi-modal content block.

JniConfig

Build-time configuration for upstream MediaPipe Tasks JNI library names.

OutputHandler

Base class for handling MediaPipe task graph outputs.

Part

Represents a part of a multi-modal content block.

TaskInfo

TaskInfo contains all needed information to initialize a MediaPipe Task com.google.mediapipe.framework.Graph.

TaskInfo.Builder

Builder for TaskInfo.

TaskOptions

MediaPipe Tasks options base class.

TaskRunner

The runner of MediaPipe task graphs.

TextPart

Represents a text part of a multi-modal content block.

Enums

Delegate

MediaPipe Tasks delegate.