@grabjs/superapp-sdk
    Preparing search index...

    Type Alias SetTitleResponse

    SetTitleResponse:
        | { status_code: 204 }
        | { error: string; status_code: 400 }
        | { error: string; status_code: 500 }
        | { error: string; status_code: 501 }
        | { result: boolean; status_code: 200 }

    Response when setting the title.

    This response can have the following status codes:

    • 200: Title set successfully.
    • 204: Title set successfully.
    • 400: Invalid title parameter.
    • 500: Internal server error - an unexpected error occurred on the native side.
    • 501: Not implemented - this method requires the Grab app environment.