GCKApplicationMetadata Class
Stay organized with collections
Save and categorize content based on your preferences.
Information about a receiver application.
Inherits NSObject. Implements <NSCopying>.
|
(NSString *__nullable) | - senderAppIdentifier |
| The identifier (app ID) of the sender application that is the counterpart to the receiver application, if any. More...
|
|
(NSURL *__nullable) | - senderAppLaunchURL |
| The launch URL (URL scheme) for the sender application that is the counterpart to the receiver application, if any. More...
|
|
- (NSString * __nullable) senderAppIdentifier |
|
|
|
The identifier (app ID) of the sender application that is the counterpart to the receiver application, if any.
- (NSURL * __nullable) senderAppLaunchURL |
|
|
|
The launch URL (URL scheme) for the sender application that is the counterpart to the receiver application, if any.
- (NSString*) applicationID |
|
readnonatomiccopy |
The application's unique ID.
- (NSString*) applicationName |
|
readnonatomiccopy |
The application's name, in a format that is appropriate for display.
Any icon images for the application, as an array of GCKImage objects.
- (NSArray<NSString *>*) namespaces |
|
readnonatomiccopy |
The set of protocol namespaces supported by this application.
Information about the sender application that is the counterpart to the receiver application, if any.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eGCKApplicationMetadata\u003c/code\u003e class provides information about a receiver application, such as its ID, name, icon images, and supported namespaces.\u003c/p\u003e\n"],["\u003cp\u003eIt includes details about the sender application, like its identifier and launch URL, if available.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eNSObject\u003c/code\u003e and conforms to the \u003ccode\u003eNSCopying\u003c/code\u003e protocol.\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, \u003ccode\u003enamespaces\u003c/code\u003e, and \u003ccode\u003esenderApplicationInfo\u003c/code\u003e to get insights into the application.\u003c/p\u003e\n"],["\u003cp\u003eInstance methods such as \u003ccode\u003esenderAppIdentifier\u003c/code\u003e and \u003ccode\u003esenderAppLaunchURL\u003c/code\u003e provide further information about the sender application.\u003c/p\u003e\n"]]],["The GCKApplicationMetadata class provides information about a receiver application, including its unique ID, display name, and associated icon images. It details the supported protocol namespaces and offers details about any counterpart sender application, such as its identifier, launch URL, and overall information. The class also supports obtaining the sender application's identifier and launch URL if it has one.\n"],null,["# GCKApplicationMetadata Class\n\n[Instance Methods](#pub-methods) \\| [Properties](#properties) \nGCKApplicationMetadata Class Reference \n\nOverview\n--------\n\nInformation about a receiver application.\n\nInherits NSObject. Implements \\\u003cNSCopying\\\u003e.\n\n|-------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Instance Method Summary ----------------------- ||\n| (NSString \\*__nullable) | - [senderAppIdentifier](/cast/v3/reference/ios/interface_g_c_k_application_metadata#a3b25159a06f73dd2920b1303cccdc3fd) |\n| | The identifier (app ID) of the sender application that is the counterpart to the receiver application, if any. [More...](#a3b25159a06f73dd2920b1303cccdc3fd) |\n| ||\n| (NSURL \\*__nullable) | - [senderAppLaunchURL](/cast/v3/reference/ios/interface_g_c_k_application_metadata#a6e1cbb23aa733cb0da98534dd1ced787) |\n| | The launch URL (URL scheme) for the sender application that is the counterpart to the receiver application, if any. [More...](#a6e1cbb23aa733cb0da98534dd1ced787) |\n| ||\n\n|-----------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Property Summary ---------------- ||\n| NSString \\* | [applicationID](/cast/v3/reference/ios/interface_g_c_k_application_metadata#a01017243eeb33549821010e8590ede44) |\n| | The application's unique ID. [More...](#a01017243eeb33549821010e8590ede44) |\n| ||\n| NSString \\* | [applicationName](/cast/v3/reference/ios/interface_g_c_k_application_metadata#a059e07a17422e7bf24200aa78d677669) |\n| | The application's name, in a format that is appropriate for display. [More...](#a059e07a17422e7bf24200aa78d677669) |\n| ||\n| NSArray\\\u003c [GCKImage](/cast/v3/reference/ios/interface_g_c_k_image) \\* \\\u003e \\* | [images](/cast/v3/reference/ios/interface_g_c_k_application_metadata#a7a5c853718cb013f52bfac32569f6465) |\n| | Any icon images for the application, as an array of [GCKImage](/cast/v3/reference/ios/interface_g_c_k_image \"A class that represents an image that is located on a web server. \") objects. [More...](#a7a5c853718cb013f52bfac32569f6465) |\n| ||\n| NSArray\\\u003c NSString \\* \\\u003e \\* | [namespaces](/cast/v3/reference/ios/interface_g_c_k_application_metadata#a0f7be7333bfc643e66a69cbf40bf2886) |\n| | The set of protocol namespaces supported by this application. [More...](#a0f7be7333bfc643e66a69cbf40bf2886) |\n| ||\n| [GCKSenderApplicationInfo](/cast/v3/reference/ios/interface_g_c_k_sender_application_info) \\* | [senderApplicationInfo](/cast/v3/reference/ios/interface_g_c_k_application_metadata#a511189fe0d2dc8de3b00d75295230386) |\n| | Information about the sender application that is the counterpart to the receiver application, if any. [More...](#a511189fe0d2dc8de3b00d75295230386) |\n| ||\n\nMethod Detail\n-------------\n\n|------------------------------------------------|---|---|---|\n| - (NSString \\* __nullable) senderAppIdentifier | | | |\n\nThe identifier (app ID) of the sender application that is the counterpart to the receiver application, if any. \n\n|--------------------------------------------|---|---|---|\n| - (NSURL \\* __nullable) senderAppLaunchURL | | | |\n\nThe launch URL (URL scheme) for the sender application that is the counterpart to the receiver application, if any.\n\nProperty Detail\n---------------\n\n|-------------------------------------------------------------------|-------------------|\n| |------------------------------| | - (NSString\\*) applicationID | | readnonatomiccopy |\n\nThe application's unique ID. \n\n|-----------------------------------------------------------------------|-------------------|\n| |--------------------------------| | - (NSString\\*) applicationName | | readnonatomiccopy |\n\nThe application's name, in a format that is appropriate for display. \n\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------|\n| |-------------------------------------------------------------------------------------| | - (NSArray\\\u003c[GCKImage](/cast/v3/reference/ios/interface_g_c_k_image) \\*\\\u003e\\*) images | | readnonatomiccopy |\n\nAny icon images for the application, as an array of [GCKImage](/cast/v3/reference/ios/interface_g_c_k_image \"A class that represents an image that is located on a web server. \") objects. \n\n|-----------------------------------------------------------------------------------------|-------------------|\n| |-----------------------------------------| | - (NSArray\\\u003cNSString \\*\\\u003e\\*) namespaces | | readnonatomiccopy |\n\nThe set of protocol namespaces supported by this application. \n\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------|\n| |------------------------------------------------------------------------------------------------------------------------| | - ([GCKSenderApplicationInfo](/cast/v3/reference/ios/interface_g_c_k_sender_application_info)\\*) senderApplicationInfo | | readnonatomiccopy |\n\nInformation about the sender application that is the counterpart to the receiver application, if any."]]