dc-delivery-sdk-js
    Preparing search index...

    Class ContentLifecycle

    Class representing the lifecycle status of a Content Item with helper functions.

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    expiryTime: string

    Date the content should expire in ISO 8601 format. The content will not become unpublished at this time but this value may be used by applications to choose not to show this content.

    Methods

    • Returns a boolean to indicate if the content should no longer be displayed by your application.

      Parameters

      • OptionalcurrentTime: Date

        Optional date to override the current time.

      Returns boolean