Class Index
These are all the API classes. See all API packages.
A
AppSearchVectorStore |
A vector store implementation using Android system-level AppSearch storage. |
AudioChunk |
Incremental mono PCM audio chunk emitted by |
AudioClassifier |
Performs audio classification on audio clips or audio stream. |
AudioClassifier.AudioClassifierOptions |
Options for setting up and |
AudioClassifier.AudioClassifierOptions.Builder |
Builder for |
AudioClassifierResult |
Represents the classification results generated by |
AudioData |
Defines a ring buffer and some utility functions to prepare the input audio samples. |
AudioData.AudioDataFormat |
Wraps a few constants describing the format of the incoming audio samples, namely number of channels and the sample rate. |
AudioData.AudioDataFormat.Builder |
Builder for |
AudioPart |
Represents an audio part of a multi-modal content block. |
AudioResult |
Self-contained mono PCM audio buffer returned by |
AudioTranscriber |
Performs streaming and non-streaming speech-to-text transcription on mono PCM float audio. |
AudioTranscriber.AudioTranscriberOptions |
Options for setting up an |
AudioTranscriber.AudioTranscriberOptions.Builder |
Builder for |
AudioTranscriber.ModelArchitecture |
Model architecture backend family for |
AudioTranscriberResult |
Represents the transcription results generated by |
AudioTranscriberResult.Segment |
Represents a single transcribed segment emitted by |
B
C
Category |
Category is a util class, that contains a category name, its display name, a float value as score, and the index of the label in the corresponding label file. |
ChoiceQuestion |
Evaluates a mutually exclusive categorical choice menu and returns a calibrated probability distribution over |
ChoiceResult |
Calibrated result of evaluating a |
ClassificationResult |
Represents the classification results of a model. |
Classifications |
Represents the list of classification for a given classifier head. |
ClassifierOptions |
Classifier options shared across MediaPipe Java classification tasks. |
ClassifierOptions.Builder |
Builder for |
ColumnConfig |
SQLite table column configuration. |
ColumnConfig.KeyType |
The type of key this column is. |
Connection |
Value class representing a landmark connection. |
CosineSimilarity |
Utility class for computing cosine similarity between |
D
DecisionContext |
Perceptual input context for multimodal or text-only decision evaluation. |
DecisionMaker |
MediaPipe Decision Task API for Android / Kotlin. |
DecisionMakerDelegate |
Hardware delegate selection for running MediaPipe Decision inference. |
DecisionMakerOptions |
Configuration options for initializing a |
DecisionMakerOptions.Builder |
Builder for |
DecisionMakerOptions.Companion |
|
DecisionQuestion |
Sealed hierarchy of structured questions evaluated by Decision. |
DefaultTextChunker |
A default text chunking implementation using native C++ word-based chunking with overlap or character sliding window. |
DefaultTextChunker.ChunkingMode |
Mode for text chunking. |
Delegate |
MediaPipe Tasks delegate. |
Detection |
Represents one detected object in the results of com.google.mediapipe.tasks.version.objectdetector.ObjectDetector. |
E
Embedding |
Represents the embedding for a given embedder head. |
EmbeddingProvider |
Interface for generating embeddings across different modalities using content parts. |
EmbeddingResult |
Represents the embedding results of a model. |
ErrorListener |
Interface for the customizable MediaPipe task error listener. |
F
FaceDetector |
Performs face detection on images. |
FaceDetector.FaceDetectorOptions |
Options for setting up a |
FaceDetector.FaceDetectorOptions.Builder |
Builder for |
FaceDetectorResult |
Represents the detection results generated by |
FaceLandmarker |
Performs face landmarks detection on images. |
FaceLandmarker.FaceLandmarkerOptions |
Options for setting up an |
FaceLandmarker.FaceLandmarkerOptions.Builder |
Builder for |
FaceLandmarkerResult |
Represents the face landmarks detection results generated by |
G
GestureRecognizer |
Performs gesture recognition on images. |
GestureRecognizer.GestureRecognizerOptions |
Options for setting up an |
GestureRecognizer.GestureRecognizerOptions.Builder |
Builder for |
GestureRecognizerResult |
Represents the gesture recognition results generated by |
H
HandLandmark |
The 21 hand landmarks. |
HandLandmark.HandLandmarkType |
Represents a hand landmark type. |
HandLandmarker |
Performs hand landmarks detection on images. |
HandLandmarker.HandLandmarkerOptions |
Options for setting up an |
HandLandmarker.HandLandmarkerOptions.Builder |
Builder for |
HandLandmarkerResult |
Represents the hand landmarks deection results generated by |
HolisticLandmarker |
Performs holistic landmarks detection on images. |
HolisticLandmarker.HolisticLandmarkerOptions |
Options for setting up an |
HolisticLandmarker.HolisticLandmarkerOptions.Builder |
Builder for |
HolisticLandmarkerResult |
Represents the holistic landmarks detection results generated by |
I
J
JniConfig |
Build-time configuration for upstream MediaPipe Tasks JNI library names. |
JniConfigContract |
Contract interface defining runtime JNI library getters for MediaPipe Tasks. |
L
Landmark |
Landmark represents a point in 3D space with x, y, z coordinates. |
LanguageDetector |
Predicts the language of an input text. |
LanguageDetector.LanguageDetectorOptions |
Options for setting up a |
LanguageDetector.LanguageDetectorOptions.Builder |
Builder for |
LanguageDetectorResult |
Represents the prediction results generated by |
LanguagePrediction |
A language code and its probability. |
M
MPImage |
The wrapper class for image objects. |
MPImage.MPImageFormat |
Specifies the image format of an image. |
MPImage.StorageType |
Specifies the image container type. |
MPImageConsumer |
Lightweight abstraction for an object that can receive |
MPImageProducer |
Lightweight abstraction for an object that produce |
MPImageProperties |
Groups a set of properties to describe how an image is stored. |
MediaImageBuilder |
Builds |
MediaImageExtractor |
Utility for extracting |
MemoryRecordConverter |
Utility class for converting between RetrievalRecord and MemoryRecord protobuf. |
N
NormalizedKeypoint |
Normalized keypoint represents a point in 2D space with x, y coordinates. x and y are normalized to [0.0, 1.0] by the image width and height respectively. |
NormalizedLandmark |
Normalized Landmark represents a point in 3D space with x, y, z coordinates. x and y are normalized to [0.0, 1.0] by the image width and height respectively. z represents the landmark depth, and the smaller the value the closer the landmark is to the camera. |
O
ObjectDetectionResult |
This class is deprecated. Use |
ObjectDetector |
Performs object detection on images. |
ObjectDetector.ObjectDetectorOptions |
Options for setting up an |
ObjectDetector.ObjectDetectorOptions.Builder |
Builder for |
ObjectDetectorResult |
Represents the detection results generated by |
OutputHandler |
Base class for handling MediaPipe task graph outputs. |
OutputHandler.OutputPacketConverter |
Interface for converting MediaPipe graph output |
OutputHandler.ProgressListener |
Interface for the customizable MediaPipe task result listener that receives partial task updates until it is invoked with `done` set to |
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. |
P
Part |
Represents a part of a multi-modal content block. |
PoseLandmarker |
Performs pose landmarks detection on images. |
PoseLandmarker.PoseLandmarkerOptions |
Options for setting up an |
PoseLandmarker.PoseLandmarkerOptions.Builder |
Builder for |
PoseLandmarkerResult |
Represents the pose landmarks deection results generated by |
R
RetrievalRecord |
Represents a single multi-modal record stored in the vector store. |
RetrievalResult |
Represents a retrieved document or multimedia chunk. |
RunningMode |
MediaPipe audio task running mode. |
RunningMode |
MediaPipe vision task running mode. |
S
ScoreQuestion |
Evaluates an ordered rubric of levels and computes both the most likely rubric level and a continuous expected score in |
ScoreResult |
Calibrated result of evaluating a |
ScoringMode |
Scoring mode for multi-token choice and rubric evaluation. |
SemanticRetriever |
MediaPipe SemanticRetriever API that manages vector embedding and retrieval. |
SemanticRetrieverComponents |
Components used to initialize the SemanticRetriever. |
SqliteVectorStore |
A vector store implementation backed by SQLite database using native SQLite vector engine. |
Stroke |
Represents a single user-drawn stroke for interactive segmentation. |
Stroke.BrushMode |
Specifies the polarity or mode of a brush stroke. |
Stroke.Builder |
Builder for |
SynthesisOptions |
Per-utterance synthesis overrides passed to |
T
TableConfig |
SQLite table configuration. |
TaskInfo |
|
TaskInfo.Builder |
Builder for |
TaskOptions |
MediaPipe Tasks options base class. |
TaskResult |
Interface for the MediaPipe Task result. |
TaskRunner |
The runner of MediaPipe task graphs. |
TextChunker |
Interface for chunking long text into smaller segments. |
TextClassifier |
Performs classification on text. |
TextClassifier.TextClassifierOptions |
Options for setting up a |
TextClassifier.TextClassifierOptions.Builder |
Builder for |
TextClassifierResult |
Represents the classification results generated by |
TextEmbedder |
Performs embedding extraction on text. |
TextEmbedder.EmbeddingType |
The embedding task type, used to format input text. |
TextEmbedder.TextEmbedderOptions |
Options for setting up a |
TextEmbedder.TextEmbedderOptions.Builder |
Builder for |
TextEmbedder.TextFormatContext |
Encapsulates formatting instructions for models that require it (like Gecko). |
TextEmbedder.TextFormatContext.Builder |
Builder for |
TextEmbedder.TextRole |
The role of the text in the context of the embedding task. |
TextEmbedderExecutor |
Executor interface to isolate and branch Text Embedder executions. |
TextEmbedderLiteRtLmExecutorImpl |
Helper implementation class for LiteRT-LM Text Embedder integration. |
TextEmbedderResult |
Represents the embedding results generated by |
TextPart |
Represents a text part of a multi-modal content block. |
TextProofreader |
Performs proofreading on text. |
TextProofreader.ProofreaderResultCallback |
Interface for receiving proofreading results. |
TextProofreader.TextProofreaderOptions |
Holds the configuration for creating a |
TextProofreader.TextProofreaderOptions.Builder |
Builder for |
TextProofreaderResult |
The result of a proofreading operation. |
TextProofreaderResult.Correction |
A single correction. |
TextProofreaderResult.CorrectionType |
The type of correction. |
TextProofreaderStreamingResult |
Represents the streaming proofreading result. |
TextSummarizer |
Performs summarization on text. |
TextSummarizer.SummarizationResultCallback |
Interface for receiving summarization results. |
TextSummarizer.TextSummarizerOptions |
Holds the configuration for creating a |
TextSummarizer.TextSummarizerOptions.Builder |
Builder for |
TextSummarizer.TextSummarizerOptions.Mode |
The mode of the text summarizer. |
TextSummarizerResult |
Represents the summarization result. |
TextSummarizerStreamingResult |
Represents the streaming summarization result. |
TextToSpeech |
MediaPipe TextToSpeech task interface for Kotlin / Android (Unary + Streaming API). |
TextToSpeechOptions |
Task initialization options for |
TtsStream |
Bidirectional / pull-based streaming synthesis handle supporting Level 2 incremental LLM text pushing ( |
U
UniversalEmbedder |
UniversalEmbedder combines the features of the existing Audio, Text, and Image embedders, while adding support for video embeddings. |
UniversalEmbedderOptions |
Options for setting up a |
UniversalEmbedderOptions.ActivationDataType |
Activation data type for model execution. |
UniversalEmbedderOptions.Builder |
Builder for |
V
VectorStore |
Interface for a vector store. |
VectorStoreRecord |
The memory record entity for vector stores. |
VectorStoreRecord.ContentType |
The content types supported by VectorStoreRecord. |
VoiceInfo |
Voice metadata descriptor returned by |
W
WordTimestamp |
Word-level timing alignment mapping an input word to audio seconds. |