{
    "description": {
        "author": "Salesforce",
        "text": [
            "Represents a single Mobile Home card in the Salesforce app.",
            "Provides methods to verify the presence of common card actions and to expand/collapse the card content.",
            "Typical usage scenarios include:",
            "• Getting record icons using getRecordIcons",
            "• Getting record subtitles using getRecordSubtitles",
            "• Getting record titles using getRecordTitles",
            "• Getting the title of the card using getTitle",
            "• Checking whether the Add action is available using hasAddButton",
            "• Checking whether the body is present (or collapsed)",
            "• Checking whether the Edit action is available using hasEditButton",
            "• Expanding or collapsing the card using toggleExpandCollapse"
        ]
    },
    "interface": true,
    "exposeRootElement": true,
    "type": [
        "actionable",
        "touchable"
    ],
    "methods": [
        {
            "name": "getRecordIcons",
            "description": "Get the record icons displayed in the card.",
            "returnType": [
                "actionable"
            ],
            "returnAll": true
        },
        {
            "name": "getRecordSubtitles",
            "description": "Get the record subtitles displayed in the card.",
            "returnType": "string",
            "returnAll": true
        },
        {
            "name": "getRecordTitles",
            "description": "Get the record titles displayed in the card.",
            "returnType": "string",
            "returnAll": true
        },
        {
            "name": "getTitle",
            "description": "Get the title of the card.",
            "returnType": "string"
        },
        {
            "name": "hasAddButton",
            "description": "Check whether the Add button is present on the card.",
            "returnType": "boolean"
        },
        {
            "name": "hasBody",
            "description": "Check whether the body is present in the card (or collapsed).",
            "returnType": "boolean"
        },
        {
            "name": "hasEditButton",
            "description": "Check whether the Edit button is present on the card.",
            "returnType": "boolean"
        },
        {
            "name": "hasHeaderIcon",
            "description": "Check whether the header icon is present on the card.",
            "returnType": "boolean"
        },
        {
            "name": "toggleExpandCollapse",
            "description": "Toggle the card state (expand/collapse)."
        }
    ]
}