メインコンテンツへスキップ
PFAuthenticationServerLoginWithIOSDeviceIDRequest データ モデル。iOS デバイスでは、UIDevice の uniqueIdentifier は iOS 5 以降非推奨となっており、この目的で advertisingIdentifier を使用すると Apple の認定プロセスで不合格となるため、DeviceId として identifierForVendor (https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIDevice_Class/index.html# // apple_ref/occ/instp/UIDevice/identifierForVendor) を使用する必要があります。ユーザーがその iOS デバイスで初めてサインインし、CreateAccount が true に設定されている場合、新しい PlayFab アカウントが作成され、ベンダー固有の iOS デバイス ID にリンクされます。この場合、PlayFab アカウントにはメールアドレスやユーザー名は関連付けられません。それ以外の場合、iOS デバイスにリンクされた PlayFab アカウントがなければ、その旨を示すエラーが返されるため、タイトルはユーザーに PlayFab アカウントの作成を案内できます。

構文

メンバー

createAccount bool この ID に現在リンクされている PlayFab アカウントがない場合、自動的に PlayFab アカウントを作成します。 customTags PFStringDictionaryEntry const*
may be nullptr
(オプション) リクエストに関連付けるオプションのカスタム タグ (ビルド番号、外部トレース識別子など)。 customTagsCount uint32_t customTags の数 deviceId const char*
is null-terminated
ユーザーのデバイスのベンダー固有の iOS 識別子。 deviceModel const char*
is null-terminated
(オプション) ユーザーのデバイスの具体的なモデル。 infoRequestParameters PFGetPlayerCombinedInfoRequestParams const*
may be nullptr
(オプション) ユーザーに対して返す情報のフラグ。 OS const char*
is null-terminated
(オプション) ユーザーのデバイスの具体的なオペレーティング システムのバージョン。

要件

ヘッダー: PFAuthenticationTypes.h

関連項目

PFAuthenticationTypes のメンバー
最終更新日 2026年10月6日