foo-webview-sdk
    Preparing search index...

    Interface MenuNodeState

    State vocabulary shared by every menu enumeration endpoint.

    flags keeps the untranslated SDK bits, so an advanced caller can still tell apart states that normalize to the same boolean — flag_defaulthidden ("hidden unless Shift is held") and FORCE_OFF ("keyboard-shortcut list only") both surface as hidden: true.

    stateKnown is not decoration: the context-menu tier can only report enabled / checked when a track selection exists, because the SDK evaluates display data against a track set. When it is false those two fields carry no observation and must not be filtered on.

    interface MenuNodeState {
        checked?: boolean;
        enabled?: boolean;
        flags?: number;
        hidden?: boolean;
        radioChecked?: boolean;
        stateKnown?: boolean;
    }
    Index
    checked?: boolean
    enabled?: boolean
    flags?: number

    Raw SDK display flags.

    hidden?: boolean

    The host would not draw this entry — get_display() false, or FORCE_OFF.

    radioChecked?: boolean

    Set for a radio-group member; implies checked.

    stateKnown?: boolean

    False when enabled / checked could not be observed.