@willwade/aac-processors
    Preparing search index...

    Class AACButton

    Implements

    • AACButton
    Index

    Constructors

    • Parameters

      • __namedParameters: {
            action?:
                | {
                    message?: string;
                    targetPageId?: string;
                    type: "SPEAK"
                    | "NAVIGATE"
                    | "ACTION";
                }
                | null;
            audioRecording?: {
                data?: Buffer;
                id?: number;
                identifier?: string;
                metadata?: string;
            };
            clone_id?: string;
            columnSpan?: number;
            contentSubType?: string;
            contentType?: "Normal"
            | "AutoContent"
            | "Workspace"
            | "LiveCell";
            directActivate?: boolean;
            id: string;
            image?: string;
            label?: string;
            message?: string;
            parameters?: { [key: string]: any };
            resolvedImageEntry?: string;
            rowSpan?: number;
            scanBlock?: number;
            scanBlocks?: number[];
            semantic_id?: string;
            semanticAction?: AACSemanticAction;
            style?: AACStyle;
            symbolLibrary?: string;
            symbolPath?: string;
            targetPageId?: string;
            type?: "SPEAK" | "NAVIGATE" | "ACTION";
            visibility?:
                | "Visible"
                | "Hidden"
                | "Disabled"
                | "PointerAndTouchOnly"
                | "Empty";
            x?: number;
            y?: number;
        }

      Returns AACButton

    Properties

    audioDescription?: string
    audioRecording?: {
        data?: Buffer;
        id?: number;
        identifier?: string;
        metadata?: string;
    }
    clone_id?: string
    columnSpan?: number
    contentSubType?: string
    contentType?: "Normal" | "AutoContent" | "Workspace" | "LiveCell"
    directActivate?: boolean
    id: string
    image?: string
    label: string
    message: string
    parameters?: { [key: string]: any }
    resolvedImageEntry?: string
    rowSpan?: number
    scanBlock?: number

    Scan block number (1-8) for block scanning

    scanBlocks?: number[]

    Use scanBlock instead (singular, not array)

    semantic_id?: string
    semanticAction?: AACSemanticAction
    style?: AACStyle
    symbolLibrary?: string
    symbolPath?: string
    targetPageId?: string
    visibility?: "Visible" | "Hidden" | "Disabled" | "PointerAndTouchOnly" | "Empty"
    x?: number
    y?: number

    Accessors

    • get action(): | {
          message?: string;
          targetPageId?: string;
          type: "SPEAK"
          | "NAVIGATE"
          | "ACTION";
      }
      | null

      Returns
          | {
              message?: string;
              targetPageId?: string;
              type: "SPEAK"
              | "NAVIGATE"
              | "ACTION";
          }
          | null

    • get type(): "SPEAK" | "NAVIGATE" | "ACTION" | undefined

      Returns "SPEAK" | "NAVIGATE" | "ACTION" | undefined