{
    "description": {
        "author": "Salesforce",
        "text": [
            "Represents the Mobile Home editor activity in the Salesforce app.",
            "Provides methods to add cards, cancel or save edits, and access card drag handles and labels for reordering and verification.",
            "Typical usage scenarios include:",
            "• Adding a new card to the layout using addCard",
            "• Canceling edits and leaving the editor using cancelEdit",
            "• Saving edits and leaving the editor using saveEdit",
            "• Retrieving drag handles for reordering cards using getCardDragHandles",
            "• Retrieving the list of card type labels using getCardTypeLabels"
        ]
    },
    "interface": true,
    "root": true,
    "exposeRootElement": true,
    "type": [
        "actionable",
        "touchable"
    ],
    "methods": [
        {
            "name": "addCard",
            "description": "Tap Add Card to add a new card to the mobile home layout."
        },
        {
            "name": "cancelEdit",
            "description": "Cancel editing and dismiss the mobile home editor."
        },
        {
            "name": "saveEdit",
            "description": "Save changes and exit the mobile home editor."
        },
        {
            "name": "getCardDragHandles",
            "description": "Get drag handles for cards (for reordering).",
            "returnType": [
                "draggable"
            ],
            "returnAll": true
        },
        {
            "name": "getCardTypeLabels",
            "description": "Get type labels for all cards shown in the editor.",
            "returnType": "string",
            "returnAll": true
        }
    ]
}