Google is committed to advancing racial equity for Black communities. See how.

Builder

abstract class Builder
kotlin.Any
   ↳ androidx.camera.view.video.Metadata.Builder

The builder for Metadata.

Summary

Public methods
abstract Metadata

Build the Metadata from this builder.

abstract Metadata.Builder
setLocation(@Nullable location: Location?)

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

Public methods

build

@NonNull abstract fun build(): Metadata

Build the Metadata from this builder.

setLocation

@NonNull abstract fun setLocation(@Nullable location: Location?): Metadata.Builder

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

If null, no location information will be saved with the video. Default value is null.