Stay organized with collections
Save and categorize content based on your preferences.
#include <ios_platform_configuration.h>
The platform configuration used when creating an instance of the GameServices class on iOS.
Summary
Public functions
|
SetClientID(std::string const & client_id)
|
Sets the Client ID, using a value obtained beforehand from the Google Play Console.
|
Valid() const
|
bool
|
Friend classes
Public functions
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-10-28 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-10-28 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```"]]