PhotoMetadata.Builder

public static abstract class PhotoMetadata.Builder extends Object

Builder for PhotoMetadata.

Public Constructor Summary

Public Method Summary

PhotoMetadata
build()
Builds the PhotoMetadata.
abstract PhotoMetadata.Builder
setAttributions(String attributions)
abstract PhotoMetadata.Builder
setHeight(int height)
abstract PhotoMetadata.Builder
setWidth(int width)

Inherited Method Summary

Public Constructors

public PhotoMetadata.Builder ()

Public Methods

public PhotoMetadata build ()

Builds the PhotoMetadata.

Throws
IllegalStateException If width or height is < 0, or photoReference is null or empty.

public abstract PhotoMetadata.Builder setAttributions (String attributions)

Parameters
attributions

public abstract PhotoMetadata.Builder setHeight (int height)

Parameters
height

public abstract PhotoMetadata.Builder setWidth (int width)

Parameters
width

Enviar comentários sobre…