Mobile Locker JavaScript SDK
    Preparing search index...

    Interface Presentation

    A presentation in the user's Mobile Locker library. Mirrors the iOS GRDBPresentation Swift model's toJSON(files:) output.

    Viewer capabilities (e.g. showSearchButton, canBeAnnotated) and download state flags are not serialized by the server — derive them from settings (a JSON string) and status at runtime.

    interface Presentation {
        brand_id: number;
        cah_be_shared_link: boolean;
        can_be_exported: boolean;
        can_be_printed_by_user: boolean;
        can_be_shared: boolean;
        can_be_shared_via_email: boolean;
        can_be_shared_via_link: boolean;
        can_be_shared_via_text: boolean;
        can_be_used_in_haystack: boolean;
        code: string | null;
        comment_count: number;
        content_updated_at: string;
        created_at: string;
        description: string;
        expires_at: string | null;
        files: PresentationFile[];
        files_hash: string | null;
        has_transcript: boolean;
        id: number;
        installed: boolean;
        is_bookmarked: boolean;
        is_ceros_experience: boolean;
        is_featured: boolean;
        is_internal_use_only: boolean;
        is_ispring: boolean;
        is_pdf_form: boolean;
        is_rateable: boolean;
        is_slide_deck: boolean;
        locale: string;
        main_path: string;
        name: string;
        new_until_at: string | null;
        owner_id: number;
        settings: string;
        share_template_id: number;
        show_in_main_list: boolean;
        slug: string;
        status: string;
        subscriber_count: number;
        team_id: number | null;
        thumbnail_hash: string | null;
        thumbnail_url: string | null;
        type: string;
        updated_at: string;
        url: string | null;
    }
    Index

    Properties

    brand_id: number
    cah_be_shared_link: boolean

    Legacy alias for can_be_shared_via_link (intentional typo kept for compatibility).

    can_be_exported: boolean
    can_be_printed_by_user: boolean
    can_be_shared: boolean

    Legacy alias for can_be_shared_via_email.

    can_be_shared_via_email: boolean
    can_be_shared_via_link: boolean
    can_be_shared_via_text: boolean
    can_be_used_in_haystack: boolean
    code: string | null

    Short unique code used in share links.

    comment_count: number
    content_updated_at: string
    created_at: string
    description: string
    expires_at: string | null

    ISO 8601 expiry timestamp, or null if the presentation does not expire.

    files: PresentationFile[]
    files_hash: string | null
    has_transcript: boolean
    id: number
    installed: boolean
    is_bookmarked: boolean
    is_ceros_experience: boolean
    is_featured: boolean
    is_internal_use_only: boolean
    is_ispring: boolean
    is_pdf_form: boolean
    is_rateable: boolean
    is_slide_deck: boolean
    locale: string
    main_path: string

    Relative path to the main entry file (e.g. 'index.html').

    name: string
    new_until_at: string | null

    ISO 8601 timestamp until which the presentation is flagged as new.

    owner_id: number
    settings: string

    Raw JSON settings string — parse to read viewer capability flags.

    share_template_id: number
    show_in_main_list: boolean
    slug: string
    status: string

    Download/availability status (e.g. 'Installed', 'Available').

    subscriber_count: number
    team_id: number | null
    thumbnail_hash: string | null
    thumbnail_url: string | null
    type: string

    Presentation format type (e.g. 'html', 'pdf', 'video').

    updated_at: string
    url: string | null

    External URL, set when the presentation opens a remote URL.