The Google Meet Live Sharing SDK is in preview. Developers can apply for access through our Early Access Program.

CoDoingSessionDelegate

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