Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
#include <ios_platform_configuration.h>
Es la configuración de la plataforma que se usa cuando se crea una instancia de la clase GameServices en iOS.
Resumen
Funciones públicas
|
SetClientID(std::string const & client_id)
|
Establece el ID de cliente con un valor obtenido previamente de Google Play Console.
|
Valid() const
|
bool
|
Clases de amigos
El contenido y las muestras de código que aparecen en esta página están sujetas a las licencias que se describen en la Licencia de Contenido. Java y OpenJDK son marcas registradas de Oracle o sus afiliados.
Última actualización: 2025-07-27 (UTC)
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Falta la información que necesito","missingTheInformationINeed","thumb-down"],["Muy complicado o demasiados pasos","tooComplicatedTooManySteps","thumb-down"],["Desactualizado","outOfDate","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Problema con las muestras o los códigos","samplesCodeIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 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```"]]