Google Drive SDK

Class gapi.drive.realtime.ValueChangedEvent

Event fired when a map or custom object property changes.

Namespacegapi.drive.realtimeClassgapi.drive.realtime.ValueChangedEvent

Summary
ClassValueChangedEvent Event fired when a map or custom object property changes.
Fieldbubbles Whether this event should bubble to ancestors.
FieldisLocal Whether this event originated in the local session.
FieldsessionId The ID of the session that initiated the event.
Fieldtype Event type.
FielduserId The user ID of the user that initiated the event.
FieldnewValue The new property value.
FieldoldValue The old property value.
Fieldproperty The property whose value changed.

Constructor

ValueChangedEvent(target, sessionId, userId, isLocal, property, newValue, oldValue)

Event fired when a map or custom object property changes.

Extends:
Classgapi.drive.realtime.BaseModelEvent
Parameters:
Classgapi.drive.realtime.EventTarget targetThe target object that generated the event.
string sessionIdThe ID of the session that initiated the event.
string userIdThe user ID of the user that initiated the event.
boolean isLocalWhether this event originated in the local session.
string propertyThe property whose value changed.
* newValueThe new property value.
* oldValueThe old property value.

Fields

bubbles -> boolean

Whether this event should bubble to ancestors.

isLocal -> boolean

Whether this event originated in the local session.

sessionId -> string

The ID of the session that initiated the event.

type -> string

Event type.

userId -> string

The user ID of the user that initiated the event.

newValue -> *

The new property value.

oldValue -> *

The old property value.

property -> string

The property whose value changed.

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.