AtomicPusherImpl class
Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
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 setter override
Methods
addListener (PusherListener ? listener )
→ void
Add pusher event callback listener.
override
deleteMetaData (List <String > keys )
→ void
Delete custom metadata of the live room by keys. Keys that do not exist are ignored.
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
setMetaData (Map <String , String > metaData )
→ void
Set custom metadata of the live room. Only the given keys are written; other keys are left untouched.
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