pub unsafe extern "C" fn swkbdSetLearningData(
    swkbd: *mut SwkbdState,
    data: *mut SwkbdLearningData,
    in_: bool,
    out: bool
)
Expand description

Configures software keyboard predictive input learning data management.

§Arguments

  • swkbd - Pointer to swkbd state.
  • data - Pointer to learning data structure (can be in, out or both depending on the other parameters).
  • in - Specifies whether the data should be read from the structure when the keyboard is launched.
  • out - Specifies whether the data should be written to the structure when the keyboard is closed.