PFAuthenticationServerLoginWithIOSDeviceIDRequest データ モデル。 iOS デバイスでは、DeviceId として identifierForVendor (https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIDevice_Class/index.html#// apple_ref/occ/instp/UIDevice/identifierForVendor) を使用する必要があります。UIDevice の uniqueIdentifier は iOS 5 以降、非推奨の状態です。この目的で advertisingIdentifier を使用すると、Apple のサーティフィケーション プロセスで失敗します。 ユーザーが iOS デバイス を使用して初めてサインインし、CreateAccount が true に設定されている場合、新しい PlayFab アカウントが作成され、ベンダー固有の iOS デバイス ID にリンクされます。 この場合、メールアドレスとユーザー名は PlayFab アカウントに関連付けられません。 それ以外の場合で、PlayFab アカウントが iOS デバイスにリンクされていない場合は、これを示すエラーが返され、タイトルがユーザーに対して PlayFab アカウントの作成をガイドできるようになります。
構文
typedef struct PFAuthenticationServerLoginWithIOSDeviceIDRequest {
bool createAccount;
PFStringDictionaryEntry const* customTags;
uint32_t customTagsCount;
const char* deviceId;
const char* deviceModel;
PFGetPlayerCombinedInfoRequestParams const* infoRequestParameters;
const char* OS;
} PFAuthenticationServerLoginWithIOSDeviceIDRequest;
メンバー
createAccount bool
現在この ID にリンクされている PlayFab アカウントがない場合は、PlayFab アカウントを自動的に作成します。
customTags PFStringDictionaryEntry const*
nullptr でもかまいません
(省略可能) 要求に関連付けられているオプションのカスタム タグ (ビルド番号、外部トレース識別子など)。
customTagsCount uint32_t
customTags の数
deviceId const char*
が null で終わる
ユーザーのデバイスのベンダー固有の iOS 識別子。
deviceModel const char*
が null で終わる
(省略可能) ユーザーのデバイスの特定のモデル。
infoRequestParameters PFGetPlayerCombinedInfoRequestParams const*
nullptr でもかまいません
(省略可能) ユーザーに返される情報の一部を示すフラグ。
OS const char*
が null で終わる
(省略可能) ユーザーのデバイスの特定のオペレーティング システムバージョン。
要件
ヘッダー: PFAuthenticationTypes.h