REST.Backend.EMSApi.TEMSClientAPI.PushToChannels

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

procedure PushToChannels(const AData: TJSONObject; const AChannels: array of string); overload;
procedure PushToChannels(const AData: TJSONObject; const AChannels: array of string; out AStatus: TPushStatus); overload;

C++

void __fastcall PushToChannels(System::Json::TJSONObject* const AData, const System::UnicodeString *AChannels, const int AChannels_High)/* overload */;
void __fastcall PushToChannels(System::Json::TJSONObject* const AData, const System::UnicodeString *AChannels, const int AChannels_High, /* out */ TPushStatus &AStatus)/* overload */;

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
procedure
function
public
REST.Backend.EMSApi.pas
REST.Backend.EMSApi.hpp
REST.Backend.EMSApi TEMSClientAPI


Beschreibung

Sendet die angegebenen Nutzdaten der EMS-Push-Meldung an den EMS-Server, damit der EMS-Server die Meldung an die angegebenen Kanäle umleitet.

Sie können optional eine Instanz von TPushStatus (AStatus) angeben, die PushToChannels mit den Statusinformationen der EMS-Push-Benachrichtigung füllt, die der EMS-Server bereitstellt.

Exceptions

Exception Meldung Beschreibung

EEMSClientAPIError

Kanalnamen erwartet

Die angegebene Liste der Kanalnamen ist leer.

MasterSecret erforderlich

Authentication ist TAuthentication.MasterSecret und ConnectionInfo.MasterSecret ist ein leerer String.

Sitzungs-Token erforderlich

Authentication ist TAuthentication.Session, und Sie haben sich nicht angemeldet oder das bei der Anmeldung (Login) angegebene Sitzungsauthentifizierungs-Token ist ein leerer String.

Siehe auch