Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
#include <ios_platform_configuration.h>
Конфигурация платформы, используемая при создании экземпляра класса GameServices в iOS.
Краткое содержание
Общественные функции |
---|
SetClientID (std::string const & client_id) | Устанавливает идентификатор клиента, используя значение, полученное заранее из консоли Google Play. |
Valid () const | bool |
Классы друзей
Общественные функции
Контент и образцы кода на этой странице предоставлены по лицензиям. Java и OpenJDK – это зарегистрированные товарные знаки корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-29 UTC.
[[["Прост для понимания","easyToUnderstand","thumb-up"],["Помог мне решить мою проблему","solvedMyProblem","thumb-up"],["Другое","otherUp","thumb-up"]],[["Отсутствует нужная мне информация","missingTheInformationINeed","thumb-down"],["Слишком сложен/слишком много шагов","tooComplicatedTooManySteps","thumb-down"],["Устарел","outOfDate","thumb-down"],["Проблема с переводом текста","translationIssue","thumb-down"],["Проблемы образцов/кода","samplesCodeIssue","thumb-down"],["Другое","otherDown","thumb-down"]],["Последнее обновление: 2025-07-29 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```"]]