public interface CoDoingSessionDelegate
Callbacks provided by the Live Sharing App to handle remote co-doing updates and to query the local state of the co-doing session.
Public Method Summary
abstract void |
onCoDoingStateChanged(CoDoingState
state)
Applies a co-doing state update from another participant in the Meeting.
|
abstract Optional<CoDoingState> |
onCoDoingStateQuery()
Retrieves the current state of the local co-doing activity.
|
Public Methods
public abstract void onCoDoingStateChanged (CoDoingState state)
Applies a co-doing state update from another participant in the Meeting.
Note: This will not be called in response to local changes.
Parameters
state | the new CoDoingState
state to be applied. |
---|
public abstract Optional<CoDoingState> onCoDoingStateQuery ()
Retrieves the current state of the local co-doing activity.
This will be called regularly, so should be written to be performant.
Returns
Optional
ofCoDoingState
describing the current co-doing state. EmptyOptional
represents there is no co-doing activity in progress.