枚举 ViewToken
ViewToken
是一种枚举类型,用于描述 ResponseObject.viewToken
的各个元素。
示例
基本用法
const viewToken = response.viewToken;
const viewId = viewToken[google.picker.ViewToken.VIEW_ID];
const label = viewToken[google.picker.ViewToken.LABEL];
const viewOptions = viewToken[google.picker.ViewToken.VIEW_OPTIONS];
签名
export enum ViewToken
成员
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-11-04。
[null,null,["最后更新时间 (UTC):2024-11-04。"],[[["`ViewToken` is an enumerated type that provides access to elements within a `ResponseObject.viewToken`."],["It includes members like `VIEW_ID`, `LABEL`, and `VIEW_OPTIONS` for retrieving specific view details."],["Developers can use `ViewToken` to extract information like view ID, label, and view options from a response object."]]],[]]