Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
#include <ios_platform_configuration.h>
Konfiguracja platformy użyta podczas tworzenia instancji klasy GameServices na iOS.
Podsumowanie
Funkcje publiczne
|
SetClientID(std::string const & client_id)
|
Ustawia identyfikator klienta na podstawie wartości uzyskanej wcześniej z Konsoli Google Play.
|
Valid() const
|
bool
|
Klasy znajomych
Treść strony i umieszczone na niej fragmenty kodu podlegają licencjom opisanym w Licencji na treści. Java i OpenJDK są znakami towarowymi lub zastrzeżonymi znakami towarowymi należącymi do firmy Oracle lub jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-27 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 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```"]]