Skip to content

Would it be possible to receive a response from the printer? #19

@pandruz

Description

@pandruz

Would it be possible to receive a status/error response when calling a method? For example, if I call the print(String data) method it would be nice to have a response from the printer, which may include something like Unable to print, change label roll or Print sent successfully etc.
I though about adding a setMethodCallHandler inside the MainActivity.kt, but the MethodChannel is set to be different each time, so that's impossible to achieve. Moreover, if it was a direct return object from the methods, it would be extremely useful.
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions