95
CITIZEN UWP POS Print SDK - Programming Manual
3.3.18. DisplayCheckAsync method
Syntax
Task<int> DisplayCheckAsync ()
Parameter
Not exist.
Description
This method is used to check the display connection status.
When the execution result of this method is successful, you can confirm that the display is connected.
When the execution result of this method fails, communication error or device error may have occurred.
In this case, reconnect using
In the case of network connection, it will be disconnected automatically when left for a long time. To
keep the connection, please execute this method periodically.
Return value
Return CDP_SUCCESS (0) in success. Please refer to "
"" for the error code except it.
Example
await display.DisplayCheckAsync()
;