-
- All Implemented Interfaces:
-
com.facebook.share.ShareBuilder,com.facebook.share.model.ShareModelBuilder
public abstract class ShareOpenGraphValueContainer.Builder<M extends ShareOpenGraphValueContainer, B extends ShareOpenGraphValueContainer.Builder<M, B>> implements ShareModelBuilder<M, B>
Abstract builder for the com.facebook.share.model.ShareOpenGraphValueContainer class.
-
-
Method Summary
Modifier and Type Method Description BputBoolean(String key, boolean value)Sets a boolean value in the object. BputBooleanArray(String key, @Nullable() Array<boolean> value)Sets an array of boolean values in the object. BputDouble(String key, double value)Sets a double value in the object. BputDoubleArray(String key, @Nullable() Array<double> value)Sets an array of double values in the object. BputInt(String key, int value)Sets an int value in the object. BputIntArray(String key, @Nullable() Array<int> value)Sets an array of int values in the object. BputLong(String key, long value)Sets a long value in the object. BputLongArray(String key, @Nullable() Array<long> value)Sets an array of long values in the object. BputObject(String key, @Nullable() ShareOpenGraphObject value)Sets an object value in the object. BputObjectArrayList(String key, @Nullable() ArrayList<ShareOpenGraphObject> value)Sets an array of object values in the object. BputPhoto(String key, @Nullable() SharePhoto value)Sets a photo value in the object. BputPhotoArrayList(String key, @Nullable() ArrayList<SharePhoto> value)Sets an array of photo values in the object. BputString(String key, @Nullable() String value)Sets a string value in the object. BputStringArrayList(String key, @Nullable() ArrayList<String> value)Sets an array of string values in the object. BreadFrom(M model)-
-
Method Detail
-
putBoolean
B putBoolean(String key, boolean value)
Sets a boolean value in the object.
- Parameters:
key- The key for the value.value- The value.
-
putBooleanArray
B putBooleanArray(String key, @Nullable() Array<boolean> value)
Sets an array of boolean values in the object.
- Parameters:
key- The key for the value.value- The value.
-
putDouble
B putDouble(String key, double value)
Sets a double value in the object.
- Parameters:
key- The key for the value.value- The value.
-
putDoubleArray
B putDoubleArray(String key, @Nullable() Array<double> value)
Sets an array of double values in the object.
- Parameters:
key- The key for the value.value- The value.
-
putInt
B putInt(String key, int value)
Sets an int value in the object.
- Parameters:
key- The key for the value.value- The value.
-
putIntArray
B putIntArray(String key, @Nullable() Array<int> value)
Sets an array of int values in the object.
- Parameters:
key- The key for the value.value- The value.
-
putLong
B putLong(String key, long value)
Sets a long value in the object.
- Parameters:
key- The key for the value.value- The value.
-
putLongArray
B putLongArray(String key, @Nullable() Array<long> value)
Sets an array of long values in the object.
- Parameters:
key- The key for the value.value- The value.
-
putObject
B putObject(String key, @Nullable() ShareOpenGraphObject value)
Sets an object value in the object.
- Parameters:
key- The key for the value.value- The value.
-
putObjectArrayList
B putObjectArrayList(String key, @Nullable() ArrayList<ShareOpenGraphObject> value)
Sets an array of object values in the object.
- Parameters:
key- The key for the value.value- The value.
-
putPhoto
B putPhoto(String key, @Nullable() SharePhoto value)
Sets a photo value in the object.
- Parameters:
key- The key for the value.value- The value.
-
putPhotoArrayList
B putPhotoArrayList(String key, @Nullable() ArrayList<SharePhoto> value)
Sets an array of photo values in the object.
- Parameters:
key- The key for the value.value- The value.
-
putString
B putString(String key, @Nullable() String value)
Sets a string value in the object.
- Parameters:
key- The key for the value.value- The value.
-
putStringArrayList
B putStringArrayList(String key, @Nullable() ArrayList<String> value)
Sets an array of string values in the object.
- Parameters:
key- The key for the value.value- The value.
-
-
-
-