GCKApplicationMetadata 类
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
继承 NSObject。实现 <NSCopy>。
- (nullable NSString *) senderAppIdentifier |
|
|
|
发送方应用的标识符(应用 ID),与接收方应用对应(如果有)。
- (nullable NSURL *) senderAppLaunchURL |
|
|
|
发送方应用的启动网址(网址架构),与接收方应用对应(如有)。
- (NSString*) applicationID |
|
readnonatomiccopy |
- (NSString*) applicationName |
|
readnonatomiccopy |
- (NSArray<NSString *>*) namespaces |
|
readnonatomiccopy |
与接收方应用对应的发送者应用的相关信息(如果有)。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003e\u003ccode\u003eGCKApplicationMetadata\u003c/code\u003e provides comprehensive information about a Cast receiver application, including its ID, name, icon, and supported namespaces.\u003c/p\u003e\n"],["\u003cp\u003eIt includes details about the sender application, such as its identifier and launch URL, if available.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can access properties like \u003ccode\u003eapplicationID\u003c/code\u003e, \u003ccode\u003eapplicationName\u003c/code\u003e, \u003ccode\u003eimages\u003c/code\u003e, and \u003ccode\u003enamespaces\u003c/code\u003e to utilize app metadata.\u003c/p\u003e\n"],["\u003cp\u003eIt also offers methods like \u003ccode\u003esenderAppIdentifier\u003c/code\u003e and \u003ccode\u003esenderAppLaunchURL\u003c/code\u003e for retrieving sender application details.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eNSObject\u003c/code\u003e and conforms to the \u003ccode\u003eNSCopying\u003c/code\u003e protocol for object copying.\u003c/p\u003e\n"]]],[],null,[]]