Android SDK Version
  • java.lang.Object
    • com.facebook.share.model.CameraEffectArguments.Builder
Enclosing class:

public static class CameraEffectArguments.Builder
extends java.lang.Object
implements ShareModelBuilder<CameraEffectArguments,CameraEffectArguments.Builder>
Builder for the CameraEffectArguments class.
Constructor Summary
Constructor and Description
Builder() 
Method Summary
Modifier and TypeMethod and Description
CameraEffectArgumentsbuild()
Creates a new instance of CameraEffectArguments with the arguments that have been set in this Builder instance.
CameraEffectArguments.BuilderputArgument(java.lang.String key, java.lang.String value)
Sets the passed in value for the passed in key.
CameraEffectArguments.BuilderputArgument(java.lang.String key, java.lang.String[] arrayValue)
Sets the passed in value for the passed in key.
CameraEffectArguments.BuilderreadFrom(CameraEffectArguments model)
Reads the values from a ShareModel into the builder.
CameraEffectArguments.BuilderreadFrom(Parcel parcel)
Reads the values from a ShareModel into the builder.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail

Builder

public Builder()
Method Detail

putArgument

public CameraEffectArguments.Builder putArgument(java.lang.String key,
                                                 java.lang.String value)
Sets the passed in value for the passed in key. This will override any previous calls with the same key.
Parameters:
key - Key for the argument
value - Value of the argument
Returns:
This Builder instance

putArgument

public CameraEffectArguments.Builder putArgument(java.lang.String key,
                                                 java.lang.String[] arrayValue)
Sets the passed in value for the passed in key. This will override any previous calls with the same key.
Parameters:
key - Key for the argument
arrayValue - Value of the argument
Returns:
This Builder instance

readFrom

public CameraEffectArguments.Builder readFrom(CameraEffectArguments model)
Description copied from interface: ShareModelBuilder
Reads the values from a ShareModel into the builder.
Specified by:
Parameters:
model - The source ShareModel
Returns:
The builder.

readFrom

public CameraEffectArguments.Builder readFrom(Parcel parcel)
Description copied from interface: ShareModelBuilder
Reads the values from a ShareModel into the builder.
Specified by:
Parameters:
parcel - The source ShareModel
Returns:
The builder.

build

public CameraEffectArguments build()
Creates a new instance of CameraEffectArguments with the arguments that have been set in this Builder instance.
Specified by:
Returns:
A new instance of CameraEffectArguments.