Get Default Sport Types

Menu: setV3GetSportSortField

Flutter Example:

/// Get default sport types event number
getDefaultSportType(
  evtBase: _VBusEvtBase.base_app_get,
  evtType: _VBusEvtType.app_get_default_sport_type),

/// Get default sport types
libManager.send(evt: CmdEvtType.getDefaultSportType, json: jsonEncode(json));

JSON Fields Sent by the App:

Field Name Field Type Field Description
default_show_num int Number of default sport types to be displayed
min_show_num int Minimum number of supported sport types
max_show_num int Maximum number of supported sport types
is_supports_sort int Whether default sorting is supported
0: No
1: Yes
sport_types list List of sport types (of type int)

Example:

```json { "default_show_num": 27, "min_show_num": 285, "max_show_num": 132, "is_supports_sort": 0, "sport_types": [ {"type": 1}, {"type": 2}, {"type": 3}, {"type": 4}, {"type": 5}, {"type": 6}, {"type": 7}, {"type": 8} ] }

Copyright © 2023-2024 IDO. All rights reserved. all right reserved,powered by GitbookModify Date: 2025-04-30 09:32:44

results matching ""

    No results matching ""