Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
#include <ios_platform_configuration.h>
Configuration de la plate-forme utilisée lors de la création d'une instance de la classe GameServices sur iOS.
Résumé
Fonctions publiques
|
SetClientID(std::string const & client_id)
|
Définit l'ID client à l'aide d'une valeur obtenue au préalable dans la Google Play Console.
|
Valid() const
|
bool
|
Cours d'amis
Le contenu et les exemples de code de cette page sont soumis aux licences décrites dans la Licence de contenu. Java et OpenJDK sont des marques ou des marques déposées d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/27 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/07/27 (UTC)."],[],[],null,["# gpg::IosPlatformConfiguration Class Reference\n\ngpg::IosPlatformConfiguration\n=============================\n\n`#include \u003cios_platform_configuration.h\u003e`\n\nThe platform configuration used when creating an instance of the [GameServices](/games/services/cpp/api/class/gpg/game-services#classgpg_1_1_game_services) class on iOS.\n\nSummary\n-------\n\n| ### Constructors and Destructors ||\n|---|---|\n| [IosPlatformConfiguration](#classgpg_1_1_ios_platform_configuration_1a55a06a14c70a2435e7bff42f7af855b7)`()` ||\n| [~IosPlatformConfiguration](#classgpg_1_1_ios_platform_configuration_1a6044969fe7838cb68006e28a725e102d)`()` ||\n\n| ### Friend classes ||\n|-------------------------------------------------------------------------------------------------|----------------|\n| [GameServicesImpl](#classgpg_1_1_ios_platform_configuration_1aee192a231506a5a269b85607d6eea34a) | `friend class` |\n\n| ### Public functions ||\n|-----------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [SetClientID](#classgpg_1_1_ios_platform_configuration_1a3c36d38733505e3c280b169980c29a4d)`(std::string const & client_id)` | [IosPlatformConfiguration](/games/services/cpp/api/class/gpg/ios-platform-configuration#classgpg_1_1_ios_platform_configuration)` &` Sets the Client ID, using a value obtained beforehand from the Google Play Console. |\n| [Valid](#classgpg_1_1_ios_platform_configuration_1a5e23a8f26cc9cfaf90b8b4900a12c333)`() const ` | `bool` Returns true if all required values were provided to the [IosPlatformConfiguration](/games/services/cpp/api/class/gpg/ios-platform-configuration#classgpg_1_1_ios_platform_configuration). |\n\nFriend classes\n--------------\n\n### GameServicesImpl\n\n```c++\nfriend class GameServicesImpl\n``` \n\nPublic functions\n----------------\n\n### IosPlatformConfiguration\n\n```c++\n IosPlatformConfiguration()\n``` \n\n### SetClientID\n\n```c++\nIosPlatformConfiguration & SetClientID(\n std::string const & client_id\n)\n``` \nSets the Client ID, using a value obtained beforehand from the Google Play Console. \n\n### Valid\n\n```c++\nbool Valid() const \n``` \nReturns true if all required values were provided to the [IosPlatformConfiguration](/games/services/cpp/api/class/gpg/ios-platform-configuration#classgpg_1_1_ios_platform_configuration).\n\nIn this case, the only required value is the Client ID. \n\n### \\~IosPlatformConfiguration\n\n```c++\n ~IosPlatformConfiguration()\n```"]]