Classe GCKSenderApplicationInfo
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Informations sur une application émettrice.
Hérite du NSObject. Met en œuvre <NSCopy>.
Plate-forme de l'application émettrice.
- (NSString*) appIdentifier |
|
readnonatomiccopy |
Identifiant unique de l'application émettrice (ID de l'application).
URL de lancement de l'application émettrice (schéma d'URL).
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/25 (UTC).
[null,null,["Dernière mise à jour le 2025/07/25 (UTC)."],[[["\u003cp\u003eThe \u003ccode\u003eGCKSenderApplicationInfo\u003c/code\u003e class provides information about a sender application, such as its platform, unique identifier, and launch URL.\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\u003e\u003ccode\u003eplatform\u003c/code\u003e identifies the sender application's operating system (iOS, Android, etc.).\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eappIdentifier\u003c/code\u003e is the sender application's unique ID (bundle ID on iOS, package name on Android).\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003elaunchURL\u003c/code\u003e represents the URL scheme used to launch the sender application.\u003c/p\u003e\n"]]],["The `GCKSenderApplicationInfo` class provides information about a sender application, inheriting from `NSObject` and implementing `NSCopying`. Key properties include: `platform`, representing the sender's platform; `appIdentifier`, a unique application ID; and `launchURL`, the application's launch URL scheme. These properties are accessed to identify and interact with the sender application. `platform` is a `GCKSenderApplicationInfoPlatform`, while `appIdentifier` is a string and `launchURL` is an `NSURL`.\n"],null,["# GCKSenderApplicationInfo Class\n\n[Properties](#properties) \nGCKSenderApplicationInfo Class Reference \n\nOverview\n--------\n\nInformation about a sender application.\n\nInherits NSObject. Implements \\\u003cNSCopying\\\u003e.\n\n|---------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------|\n| Property Summary ---------------- ||\n| [GCKSenderApplicationInfoPlatform](/cast/docs/reference/ios/g_c_k_sender_application_info_8h#a3e40c6eed9df4753d76899cee39a343f) | [platform](/cast/docs/reference/ios/interface_g_c_k_sender_application_info#afc9e018399a38798042f9c414ab18f9f) |\n| | The sender application's platform. [More...](#afc9e018399a38798042f9c414ab18f9f) |\n| ||\n| NSString \\* | [appIdentifier](/cast/docs/reference/ios/interface_g_c_k_sender_application_info#a7bb1bd510a345fb833c9c036d7ed5966) |\n| | The sender application's unique identifier (app ID). [More...](#a7bb1bd510a345fb833c9c036d7ed5966) |\n| ||\n| NSURL \\* | [launchURL](/cast/docs/reference/ios/interface_g_c_k_sender_application_info#a550925ed4904e82710f3da3782c8496e) |\n| | The sender application's launch URL (URL scheme). [More...](#a550925ed4904e82710f3da3782c8496e) |\n| ||\n\nProperty Detail\n---------------\n\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------|\n| |----------------------------------------------------------------------------------------------------------------------------------------------| | - ([GCKSenderApplicationInfoPlatform](/cast/docs/reference/ios/g_c_k_sender_application_info_8h#a3e40c6eed9df4753d76899cee39a343f)) platform | | readnonatomicassign |\n\nThe sender application's platform. \n\n|-------------------------------------------------------------------|-------------------|\n| |------------------------------| | - (NSString\\*) appIdentifier | | readnonatomiccopy |\n\nThe sender application's unique identifier (app ID). \n\n|-----------------------------------------------------|---------------------|\n| |-----------------------| | - (NSURL\\*) launchURL | | readnonatomicstrong |\n\nThe sender application's launch URL (URL scheme)."]]