AtomicPusherImpl class

Implemented types

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → PusherState
Reactive state. Carries state such as connection status, push statistics, and current live room info. You can read the current value or subscribe to changes.
no setteroverride

Methods

addListener(PusherListener? listener) → void
Add pusher event callback listener.
override
enableAdvancedFeature(String key, Object value) → void
Advanced feature. Enable an advanced feature by key-value pair. Supported keys depend on the underlying native pusher capability and may evolve over versions.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
release() → void
Actively release the pusher. After calling, all APIs become no-ops, and internally held underlying resources, state, and event subscriptions will be cleaned up.
override
removeListener(PusherListener? listener) → void
Remove pusher event callback listener.
override
setView(AtomicLiveWidget view) → void
Set the render view. The locally captured video frames will be rendered into the given AtomicLiveView container.
override
startPush(PusherInfo config) → void
Start pushing (streaming). Pass in the live room configuration; the SDK will create the push link accordingly.
override
stopPush() → void
Stop pushing (streaming).
override
toString() → String
A string representation of this object.
inherited
updateConfig(PusherInfo config, List<PusherInfoModifyFlag> modifyFlagList) → void
Update live room configuration. Call this after startPush to update live room info such as name, cover, category etc.
override

Operators

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

Static Properties

shared → AtomicPusherImpl
Global singleton, consumed by AtomicPusher.shared.
final