OpenDBRequest 类
- 继承
-
- Object
- EventTarget
- Request
- OpenDBRequest
- 注解
-
- @Unstable()
- @Native("IDBOpenDBRequest,IDBVersionChangeRequest")
属性
- error → DomException?
-
no setterinherited
- hashCode → int
- 此对象的相关哈希码。no setterinherited
- on → Events
- 这是一个针对事件流的便利访问器,应在没有显式访问器时使用。no setterinherited
-
onBlocked → Stream<
Event> - 此 OpenDBRequest 处理的
blocked
事件的流。no setter -
onError → Stream<
Event> - 此 Request 处理的
error
事件的流。no setterinherited -
onSuccess → Stream<
Event> - 此 Request 处理的
success
事件的流。no setterinherited -
onUpgradeNeeded → Stream<
VersionChangeEvent> - 此 OpenDBRequest 处理的
upgradeneeded
事件的流。no setter - readyState → String?
-
no setterinherited
- result → dynamic
-
no setterinherited
- runtimeType → Type
- 对象运行时的表示。no setterinherited
- source → Object?
-
no setterinherited
- transaction → Transaction?
-
no setterinherited
方法
-
addEventListener(
String type, EventListener? listener, [bool? useCapture]) → void -
inherited
-
dispatchEvent(
Event event) → bool -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic - 当访问不存在的属性或方法时调用。inherited
-
removeEventListener(
String type, EventListener? listener, [bool? useCapture]) → void -
inherited
-
toString(
) → String - 此对象字符串表示形式。inherited
运算符
-
operator ==(
Object other) → bool - 等于运算符。inherited
常量
-
blockedEvent → const EventStreamProvider<
Event> - 静态工厂,用于将
blocked
事件暴露给事件处理程序,这些事件处理程序不一定是 OpenDBRequest 的实例。 -
upgradeNeededEvent → const EventStreamProvider<
VersionChangeEvent> - 静态工厂,用于将
upgradeneeded
事件暴露给事件处理程序,这些事件处理程序不一定是 OpenDBRequest 的实例。