Android SDK Version
Constructor Summary
Constructor and Description
Builder() 
Method Summary
Modifier and TypeMethod and Description
ShareCameraEffectContentbuild()
Creates a new instance of ShareCameraEffectContent with the properties as set on this Builder instance
ShareCameraEffectContent.BuilderreadFrom(ShareCameraEffectContent model)
Reads the values from a ShareModel into the builder.
ShareCameraEffectContent.BuildersetArguments(CameraEffectArguments arguments)
Sets the Arguments for the Effect represented by this content instance.
ShareCameraEffectContent.BuildersetEffectId(java.lang.String effectId)
Sets the Effect Id for the Effect represented by this content instance.
ShareCameraEffectContent.BuildersetTextures(CameraEffectTextures textures)
Sets the Textures for the Effect represented by this content instance.
Methods inherited from class com.facebook.share.model.
setContentUrl, setPageId, setPeopleIds, setPlaceId, setRef, setShareHashtag
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

setEffectId

public ShareCameraEffectContent.Builder setEffectId(java.lang.String effectId)
Sets the Effect Id for the Effect represented by this content instance. This must be an Id of an effect that is published and approved.
Parameters:
effectId - Id of the Effect.
Returns:
This builder instance

setArguments

public ShareCameraEffectContent.Builder setArguments(CameraEffectArguments arguments)
Sets the Arguments for the Effect represented by this content instance.
Parameters:
arguments - Arguments for this Effect
Returns:
This builder instance

setTextures

public ShareCameraEffectContent.Builder setTextures(CameraEffectTextures textures)
Sets the Textures for the Effect represented by this content instance.
Parameters:
textures - Textures for this Effect
Returns:
This builder instance

build

public ShareCameraEffectContent build()
Creates a new instance of ShareCameraEffectContent with the properties as set on this Builder instance
Returns:
A new instance of ShareCameraEffectContent

readFrom

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