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

    Type Alias GetLanguageLocaleIdentifierResponse

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

    Response when getting the language locale identifier from the device.

    This response can have the following status codes:

    • 200: Locale identifier retrieved successfully.
    • 204: No content - locale identifier not available.
    • 400: Invalid request parameters.
    • 500: Internal server error - an unexpected error occurred on the native side.
    • 501: Not implemented - this method requires the Grab app environment.