@vestra-player/sdk - v1.11.3
    Preparing search index...

    Variable UI_VALUE_LIMITSConst

    UI_VALUE_LIMITS: {
        depth: 8;
        values: number;
        arrayRows: 100000;
        stringBytes: number;
        textBytes: number;
    } = ...

    The player's limits on one property value (a PropValue as written by View.set or View.bind, or an initial property of a window, panel or settings page). The player's tests check that these agree with the player; TestHost enforces them the same way.

    A value over a limit is refused whole with code limit (the property keeps what it showed) and reported to Scope.onError: a write by View.set or View.bind as described there. As an initial property it makes Window.show reject; a panel or settings page opens without it and the failure goes to the plugin's onError.

    They allow a whole list: a plugin binds all of its rows (a playlist of 50,000 entries fits) and the view draws them with a Slint ListView, which builds only the rows on screen. The SDK sends a changed array as row patches, and an array larger than one request (about 512 KiB of rows) as its first rows followed by insert patches of the rest; the player converts large writes off its interface thread.

    In a row, null where the view declares an image shows no picture: rows without a thumbnail need no placeholder image.

    Type Declaration

    • Readonlydepth: 8

      Nesting depth; the value itself is depth 0 (8).

    • Readonlyvalues: number

      Values in all, counting every array, object, string, number, boolean and null, the value itself included; a Markdown document is one (1,048,576).

    • ReadonlyarrayRows: 100000

      Rows of one array (100,000).

    • ReadonlystringBytes: number

      UTF-8 bytes of one string or object field name (64 KiB).

    • ReadonlytextBytes: number

      UTF-8 bytes of all strings and field names together, the text of the value's Markdown documents included (32 MiB).

    The view draws every row with a ListView; the SDK sends what changed.

    list.bind(() => ({ rows: entries.map((e) => ({ ...e, selected: false })) }));
    

    1.5.10