public static class Photo.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Photo.Builder() |
| Modifier and Type | Method and Description |
|---|---|
Photo |
build() |
Photo.Builder |
setImage(android.graphics.Bitmap bitmap)
Set photo to be published
|
Photo.Builder |
setImage(byte[] bytes)
Set photo to be published
|
Photo.Builder |
setImage(java.io.File file)
Set photo to be published
|
Photo.Builder |
setName(java.lang.String name)
Add name/description to the photo
|
Photo.Builder |
setPlace(java.lang.String placeId)
Add place id of the photo
|
Photo.Builder |
setPrivacy(Privacy privacy)
Add privacy setting to the photo
|
public Photo.Builder setImage(android.graphics.Bitmap bitmap)
bitmap - public Photo.Builder setImage(java.io.File file)
file - public Photo.Builder setImage(byte[] bytes)
bytes - public Photo.Builder setName(java.lang.String name)
name - The name/description of the photopublic Photo.Builder setPlace(java.lang.String placeId)
placeId - The place id of the photopublic Photo.Builder setPrivacy(Privacy privacy)
privacy - The privacy setting of the photoPrivacypublic Photo build()