photoMetadata

fun photoMetadata(photoReference: String, actions: PhotoMetadata.Builder.() -> Unit? = null): PhotoMetadata

Deprecated

Use the version in the Places SDK instead.

Replace with

import com.google.android.libraries.places.api.model.kotlin.photoMetadata
photoMetadata(photoReference, actions)

Builds a new PhotoMetadata.

Return

the constructed PhotoMetadata

Parameters

photoReference

the reference identifying the underlying photo

actions

the actions to apply to the PhotoMetadata.Builder