This API is deprecated and will be turned down in January 2019. Migrate to Cloud Firestore or another data store as soon as possible to avoid disruptions to your application.

Class: CollaboratorLeftEvent

Properties
collaborator gapi.drive.realtime.Collaborator

The collaborator that left.

target gapi.drive.realtime.Document

The Realtime document that initiated this event.

type string

The type of the event.

new CollaboratorLeftEvent(document, collaborator)

An event indicating that a collaborator left the document.

Parameters

Name Type Optional Description

document

gapi.drive.realtime.Document

 

The document the collaborator left.

Value must not be null.

collaborator

gapi.drive.realtime.Collaborator

 

The collaborator that left.

Value must not be null.

Properties

collaborator  gapi.drive.realtime.Collaborator

The collaborator that left.

target  gapi.drive.realtime.Document

The Realtime document that initiated this event.

type  string

The type of the event.

Send feedback about...

Realtime API
Realtime API
Need help? Visit our support page.