Metadata

public abstract class Metadata
extends Object

java.lang.Object
   ↳ androidx.camera.view.video.Metadata


Holder class for metadata that should be saved alongside captured video.

Summary

Nested classes

class Metadata.Builder

The builder for Metadata

Public methods

static Metadata.Builder builder()

Creates a Metadata.Builder.

abstract Location getLocation()

Returns a Location object representing the geographic location where the video was taken.

Inherited methods

Public methods

builder

public static Metadata.Builder builder ()

Creates a Metadata.Builder.

Returns
Metadata.Builder

getLocation

public abstract Location getLocation ()

Returns a Location object representing the geographic location where the video was taken.

Returns
Location The location object or null if no location was set.