Google drive realtime API getting ID of custom collaborative object

53 views Asked by At

I've written a simple application that uses a bunch of nested collaborative maps. However, I've decided to convert this to using custom collaborative objects as it will clean up the structure of my model enormously.

How do I get the ID of a custom object? Whenever I create a collaborative map or string (etc) they have an ID property.

Thanks, Ryan.

1

There are 1 answers

0
KENdi On BEST ANSWER

Check the static getID if it can help you. It will return the id of the given custom object. For more information, check this overview of custom and this Custom collaborative objects.