CashDrawerApi class abstract

Implementers

Constructors

CashDrawerApi()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isOpen() Future<bool?>
返回本地钱箱的开启状态 @return true 钱箱开启 false 钱箱未开启 @throws SdkException 接口实现情况,除商米打印机外目前接口返回不支持
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open(PrintResult resultListener) Future<void>
打开本地钱箱 @param resultListener 钱箱开启情况,接口可执行后具体到调用打印机时的异常 @throws SdkException 接口实现情况,除商米打印机外目前接口返回不支持异常
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited