{
    "description": {
        "author": "Salesforce",
        "text": [
            "Represents the Mobile Home cards list (scroll view) in the Salesforce app.",
            "Provides methods to locate cards by type, retrieve cards that are visible, and scroll/flick until a target card is in view.",
            "Typical usage scenarios include:",
            "• Flicking to a specific card using flickToCardOfType",
            "• Interacting with the cards using getCards",
            "• Getting a specific card component using getCardOfType",
            "• Verifying whether a card exists using hasCardOfType"
        ]
    },
    "interface": true,
    "exposeRootElement": true,
    "type": [
        "actionable",
        "touchable"
    ],
    "methods": [
        {
            "name": "flickToCardOfType",
            "description": "Flick until the card with the given type is in view.",
            "args": [
                {
                    "name": "type",
                    "type": "string"
                }
            ],
            "returnType": "boolean"
        },
        {
            "name": "getCards",
            "description": "Get all the cards.",
            "returnAll": true,
            "returnType": "utam-salesforceapp/pageObjects/mcfmobilehome/mobileHomeCard"
        },
        {
            "name": "getCardOfType",
            "description": "Get the card of the given type.",
            "args": [
                {
                    "name": "type",
                    "type": "string"
                }
            ],
            "returnType": "utam-salesforceapp/pageObjects/mcfmobilehome/mobileHomeCard"
        },
        {
            "name": "hasCardOfType",
            "description": "Check whether a card with the given type exists.",
            "args": [
                {
                    "name": "type",
                    "type": "string"
                }
            ],
            "returnType": "boolean"
        }
    ]
}