REST.Backend.EMSApi.TEMSClientAPI.PushToChannels
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 */;
Inhaltsverzeichnis
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 |
---|---|---|
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
- REST.Backend.EMSApi.TEMSClientAPI.PushBroadcast
- REST.Backend.EMSApi.TEMSClientAPI.PushToTarget
- REST.Backend.EMSApi.TEMSClientAPI.PushWhere
- REST.Backend.EMSApi.TEMSClientAPI.CreateAndroidInstallationObject
- REST.Backend.EMSApi.TEMSClientAPI.CreateIOSInstallationObject
- REST.Backend.EMSApi.TEMSClientAPI.UploadInstallation
- REST.Backend.EMSApi.TEMSClientAPI.UpdateInstallation
- REST.Backend.EMSApi.TEMSClientAPI.DeleteInstallation
- REST.Backend.EMSApi.TEMSClientAPI.QueryInstallations
- REST.Backend.EMSApi.TEMSClientAPI.RetrieveInstallation
- REST.Backend.EMSApi.TEMSClientAPI.RetrieveInstallationsChannelNames
- REST.Backend.EMSApi.TEMSClientAPI.RetrieveInstallationsFields