LrJposChannel.closeChannel

Closes the current channel.

public static void closeChannel()

Return values

This function does not return any values.

General information

After calling this function, you can no longer use the current channel unless you reinitialize it.

If the channel is connected to the host, you can also use this function to disconnect.

Example

Copy code
public int end() throws Throwable {
        
        LrJposChannel.closeChannel();
        
        return 0;
 }