-
- All Implemented Interfaces:
-
com.facebook.share.ShareBuilder,com.facebook.share.model.ShareModelBuilder
public final class ShareCameraEffectContent.Builder extends ShareContent.Builder<ShareCameraEffectContent, ShareCameraEffectContent.Builder>
Builder for the ShareCameraEffectContent interface.
-
-
Constructor Summary
Constructors Constructor Description ShareCameraEffectContent.Builder()
-
Method Summary
Modifier and Type Method Description final ShareCameraEffectContent.BuildersetEffectId(String effectId)Sets the Effect Id for the Effect represented by this content instance. final ShareCameraEffectContent.BuildersetArguments(CameraEffectArguments arguments)Sets the Arguments for the Effect represented by this content instance. final ShareCameraEffectContent.BuildersetTextures(CameraEffectTextures textures)Sets the Textures for the Effect represented by this content instance. 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. -
-
Method Detail
-
setEffectId
final ShareCameraEffectContent.Builder setEffectId(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.
-
setArguments
final ShareCameraEffectContent.Builder setArguments(CameraEffectArguments arguments)
Sets the Arguments for the Effect represented by this content instance.
- Parameters:
arguments- Arguments for this Effect
-
setTextures
final ShareCameraEffectContent.Builder setTextures(CameraEffectTextures textures)
Sets the Textures for the Effect represented by this content instance.
- Parameters:
textures- Textures for this Effect
-
build
ShareCameraEffectContent build()
Creates a new instance of ShareCameraEffectContent with the properties as set on this Builder instance
-
readFrom
ShareCameraEffectContent.Builder readFrom(ShareCameraEffectContent model)
Reads the values from a ShareModel into the builder.
- Parameters:
model- The source ShareModel
-
-
-
-