V3 Set Sports Type Sorting

Function Name: getSportsTypeV3

Flutter Example:

/// Set sports type sorting event number
setSportSortV3(
  evtBase: _VBusEvtBase.base_app_set,
  evtType: _VBusEvtType.func_v3_sport_sort),

/// Set sports type sorting
libManager.send(evt: CmdEvtType.setSportSortV3, json: jsonEncode(json));

JSON Fields Sent by the App:

Field Name Data Type Field Description
num int Number of sports type details, up to 30
item array Array of sport type sorting details with index and type
Field Name Data Type Field Description
index int Sorting number, starting from 1
type int Sport type, check the defined sport types for details

Example:

{
    "num":3,
    "item":[
        {
            "index":1,
            "type":2,
        },
        {
            "index":2,
            "type":22,
        },
        {
            "index":3,
            "type":33,
        }
    ]
}
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 ""