MessageHTML Property

This is the HTML version of the current message.

Syntax

ANSI (Cross Platform)
char* GetMessageHTML();
int SetMessageHTML(const char* lpszMessageHTML); Unicode (Windows) LPWSTR GetMessageHTML();
INT SetMessageHTML(LPCWSTR lpszMessageHTML);
@property (nonatomic,readwrite,assign,getter=messageHTML,setter=setMessageHTML:) NSString* messageHTML;
- (NSString*)messageHTML;
- (void)setMessageHTML:(NSString*)newMessageHTML;
#define PID_XMPP_MESSAGEHTML 21

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

If the user wishes to send any HTML as a part of the message, it must be set in the MessageHTML property. The HTML must be an entire HTML document, including the <html> and <body> tags. If the HTML has unbalanced tags, the XMPP class will fail with an error.

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]