COMMUNICATION METHOD FOR FLUTTER WEB APPLICATION AND HOST PROGRAM, AND COMPUTER DEVICE
The present disclosure relates to a communication method for a Flutter Web application and a host program, and a computer device. The method includes: acquiring a communication mode between the Flutter Web application and the host program, where the communication mode includes a WebSocket communicat...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The present disclosure relates to a communication method for a Flutter Web application and a host program, and a computer device. The method includes: acquiring a communication mode between the Flutter Web application and the host program, where the communication mode includes a WebSocket communication mode and/or a JavaScript communication mode; communicating, according to the communication mode, with the host program through a first communication component, where the first communication component is arranged in the Flutter Web application and realizes information interaction based on a preset information format. The present embodiment can make use of characteristics that a Flutter framework can set a channel, and the Flutter Web application can establish a communication channel with a host program by setting a first communication component. Communication through the communication channel can improve efficiency of message monitoring and transmission, thereby enhancing an application range of the Flutter framework. |
---|