MessageText Property

This is the plain text of the current message.

Syntax

ANSI (Cross Platform)
char* GetMessageText();
int SetMessageText(const char* lpszMessageText); Unicode (Windows) LPWSTR GetMessageText();
INT SetMessageText(LPCWSTR lpszMessageText);
@property (nonatomic,readwrite,assign,getter=messageText,setter=setMessageText:) NSString* messageText;
- (NSString*)messageText;
- (void)setMessageText:(NSString*)newMessageText;
#define PID_XMPP_MESSAGETEXT 24

IPWORKSIOT_EXTERNAL void* IPWORKSIOT_CALL IPWorksIoT_XMPP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSIOT_EXTERNAL int IPWORKSIOT_CALL IPWorksIoT_XMPP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

""

Remarks

MessageText is the plain text version of the current message, taken from the message's "body" child element. The text in this property is automatically escaped to ensure valid XML parsing on the other end.

This property is not available at design time.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks IoT 2020 C++ Edition - Version 20.0 [Build 8265]