REST.Backend.KinveyApi.TKinveyApi.PushRegisterDevice
Delphi
procedure PushRegisterDevice(APlatformType: TPlatformType; const ADeviceID, AUserID: string); overload;
procedure PushRegisterDevice(APlatformType: TPlatformType; const ADeviceID: string); overload;
procedure PushRegisterDevice(APlatformType: TPlatformType; const ADeviceID: string; const AUser: TUser); overload;
C++
void __fastcall PushRegisterDevice(TPlatformType APlatformType, const System::UnicodeString ADeviceID, const System::UnicodeString AUserID)/* overload */;
void __fastcall PushRegisterDevice(TPlatformType APlatformType, const System::UnicodeString ADeviceID)/* overload */;
void __fastcall PushRegisterDevice(TPlatformType APlatformType, const System::UnicodeString ADeviceID, const TUser &AUser)/* overload */;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
public | REST.Backend.KinveyApi.pas REST.Backend.KinveyApi.hpp |
REST.Backend.KinveyApi | TKinveyApi |
説明
デバイスを登録するために、POST リクエストを送信します。
リクエストは、ユーザーまたはマスターの認証情報で、認可されなければなりません。
リクエストのパラメータは次のとおりです:
パラメータ | 説明 |
---|---|
APlatformType
|
利用可能なプラットフォームを保有する文字列(ios や android など)。
|
ADeviceID
|
登録するデバイスの ID を示す文字列。 |
AUserID
|
リクエストがマスター認証情報を使用して認可された際の、ユーザー ID を示す文字列。リクエストがユーザーの認証情報で認可されたされた場合には、ユーザー ID を示す必要はありません。認可されたユーザーとして取得されるからです。 |