public static abstract class
PhotoMetadata.Builder
extends Object
Builder for PhotoMetadata
.
Public Constructor Summary
Builder()
|
Public Method Summary
PhotoMetadata |
build()
Builds the
PhotoMetadata . |
abstract String | |
abstract int | |
abstract int |
getWidth()
|
abstract PhotoMetadata.Builder |
setAttributions(String attributions)
|
abstract PhotoMetadata.Builder |
setHeight(int height)
|
abstract PhotoMetadata.Builder |
setWidth(int width)
|
Inherited Method Summary
Public Constructors
public Builder ()
Public Methods
public PhotoMetadata build ()
Builds the PhotoMetadata
.
Throws
IllegalStateException | If width or height is < 0, or photoReference is null or empty.
|
---|