Google 驱动实时 API 获取自定义协作对象的 ID
Google drive realtime API getting ID of custom collaborative object
我编写了一个使用一堆嵌套协作地图的简单应用程序。但是,我决定将其转换为使用自定义协作对象,因为它将极大地清理我的模型结构。
如何获取自定义对象的 ID?每当我创建协作地图或字符串(等)时,它们都有一个 ID 属性.
谢谢,
瑞安.
检查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。
我编写了一个使用一堆嵌套协作地图的简单应用程序。但是,我决定将其转换为使用自定义协作对象,因为它将极大地清理我的模型结构。
如何获取自定义对象的 ID?每当我创建协作地图或字符串(等)时,它们都有一个 ID 属性.
谢谢, 瑞安.
检查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。