-
- All Implemented Interfaces:
-
com.facebook.share.ShareBuilder,com.facebook.share.model.ShareModelBuilder
public abstract class ShareOpenGraphValueContainer.Builder<P extends ShareOpenGraphValueContainer, E extends ShareOpenGraphValueContainer.Builder> implements ShareModelBuilder<P, E>
Abstract builder for the com.facebook.share.model.ShareOpenGraphValueContainer class.
-
-
Method Summary
Modifier and Type Method Description EputBoolean(String key, boolean value)Sets a boolean value in the object. EputBooleanArray(String key, @Nullable() Array<boolean> value)Sets an array of boolean values in the object. EputDouble(String key, double value)Sets a double value in the object. EputDoubleArray(String key, @Nullable() Array<double> value)Sets an array of double values in the object. EputInt(String key, int value)Sets an int value in the object. EputIntArray(String key, @Nullable() Array<int> value)Sets an array of int values in the object. EputLong(String key, long value)Sets a long value in the object. EputLongArray(String key, @Nullable() Array<long> value)Sets an array of long values in the object. EputObject(String key, @Nullable() ShareOpenGraphObject value)Sets an object value in the object. EputObjectArrayList(String key, @Nullable() ArrayList<ShareOpenGraphObject> value)Sets an array of object values in the object. EputPhoto(String key, @Nullable() SharePhoto value)Sets a photo value in the object. EputPhotoArrayList(String key, @Nullable() ArrayList<SharePhoto> value)Sets an array of photo values in the object. EputString(String key, @Nullable() String value)Sets a string value in the object. EputStringArrayList(String key, @Nullable() ArrayList<String> value)Sets an array of string values in the object. EreadFrom(P model)Reads the values from a ShareModel into the builder. -
-
Method Detail
-
putBoolean
E putBoolean(String key, boolean value)
Sets a boolean value in the object.
- Parameters:
key- The key for the value.value- The value.
-
putBooleanArray
E 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
E putDouble(String key, double value)
Sets a double value in the object.
- Parameters:
key- The key for the value.value- The value.
-
putDoubleArray
E 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
E putInt(String key, int value)
Sets an int value in the object.
- Parameters:
key- The key for the value.value- The value.
-
putIntArray
E 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
E putLong(String key, long value)
Sets a long value in the object.
- Parameters:
key- The key for the value.value- The value.
-
putLongArray
E 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
E putObject(String key, @Nullable() ShareOpenGraphObject value)
Sets an object value in the object.
- Parameters:
key- The key for the value.value- The value.
-
putObjectArrayList
E 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
E putPhoto(String key, @Nullable() SharePhoto value)
Sets a photo value in the object.
- Parameters:
key- The key for the value.value- The value.
-
putPhotoArrayList
E 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
E putString(String key, @Nullable() String value)
Sets a string value in the object.
- Parameters:
key- The key for the value.value- The value.
-
putStringArrayList
E 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.
-
-
-
-