-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class PLYPresentationProperties implements Parcelable
Class that represents the properties of a presentation.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringplacementIdprivate final StringpresentationIdprivate final StringproductIdprivate final StringplanIdprivate final StringcontentIdprivate final BooleandisplayCloseButtonprivate final Function1<Boolean, Unit>onLoadedprivate final Function0<Unit>onCloseprivate final StringbackgroundColorprivate final StringprogressColorprivate final StringflowId
-
Constructor Summary
Constructors Constructor Description PLYPresentationProperties(Function0<Unit> onClose)PLYPresentationProperties(Boolean displayCloseButton, Function1<Boolean, Unit> onLoaded, Function0<Unit> onClose)PLYPresentationProperties(Function1<Boolean, Unit> onLoaded, Function0<Unit> onClose)PLYPresentationProperties(String placementId, String presentationId, String contentId)PLYPresentationProperties(String placementId, String presentationId)PLYPresentationProperties(String presentationId)PLYPresentationProperties(String placementId, String presentationId, String productId, String planId, String contentId, Boolean displayCloseButton, Function1<Boolean, Unit> onLoaded, Function0<Unit> onClose, String backgroundColor, String progressColor, String flowId, String requestId, List<String> campaignIds, String eventId, Flow flow, String flowActionId, Boolean isConditionalFlowAction)
-
Method Summary
Modifier and Type Method Description final StringgetPlacementId()final StringgetPresentationId()final StringgetProductId()final StringgetPlanId()final StringgetContentId()final BooleangetDisplayCloseButton()final Function1<Boolean, Unit>getOnLoaded()final Function0<Unit>getOnClose()final StringgetBackgroundColor()final StringgetProgressColor()final StringgetFlowId()-
-
Constructor Detail
-
PLYPresentationProperties
PLYPresentationProperties(Function0<Unit> onClose)
-
PLYPresentationProperties
PLYPresentationProperties(Boolean displayCloseButton, Function1<Boolean, Unit> onLoaded, Function0<Unit> onClose)
-
PLYPresentationProperties
PLYPresentationProperties(Function1<Boolean, Unit> onLoaded, Function0<Unit> onClose)
-
PLYPresentationProperties
PLYPresentationProperties(String placementId, String presentationId, String contentId)
-
PLYPresentationProperties
PLYPresentationProperties(String presentationId)
-
PLYPresentationProperties
PLYPresentationProperties(String placementId, String presentationId, String productId, String planId, String contentId, Boolean displayCloseButton, Function1<Boolean, Unit> onLoaded, Function0<Unit> onClose, String backgroundColor, String progressColor, String flowId, String requestId, List<String> campaignIds, String eventId, Flow flow, String flowActionId, Boolean isConditionalFlowAction)
- Parameters:
placementId- The placement ID of the presentation.presentationId- The presentation ID of the presentation.productId- The product ID of the presentation.planId- The plan ID of the presentation.contentId- The content ID of the presentation.displayCloseButton- Whether to display the close button on the presentation.onLoaded- The listener that is called when the presentation is loaded.onClose- The listener that is called when the presentation is closed.backgroundColor- The background color of the presentation.progressColor- The progress color of the presentation.
-
-
Method Detail
-
getPlacementId
final String getPlacementId()
-
getPresentationId
final String getPresentationId()
-
getProductId
final String getProductId()
-
getContentId
final String getContentId()
-
getDisplayCloseButton
final Boolean getDisplayCloseButton()
-
getOnLoaded
final Function1<Boolean, Unit> getOnLoaded()
-
getOnClose
final Function0<Unit> getOnClose()
-
getBackgroundColor
final String getBackgroundColor()
-
getProgressColor
final String getProgressColor()
-
-
-
-