Notifications for Changes on the Status of Sharing Data
Notification Description
A notification is sent when the status of sharing data is changed.
Method Definition
1
|
virtual void OnShareState(HwmShareStateInfo *shareStateInfo) {}; |
Precautions
None
Parameter Description
Parameter |
Type |
Description |
---|---|---|
state |
HwmState |
Sharing status. |
name |
char[] |
Sharer name. This parameter is valid only when state is set to HWM_STATE_ON. |
number |
char[] |
Number of the sharer. This parameter is valid only when state is set to HWM_STATE_ON. |
shareType |
HwmShareType |
Sharing type. |
monitor |
HwmMonitor |
Type of the shared monitor (primary or secondary monitor). |
appHandle |
HWND |
Program handle. |
stopShareReason |
HwmStopShareReason |
Reason for stopping sharing. |
Enumerated Value |
Description |
---|---|
HWM_STATE_OFF |
Sharing disabled. |
HWM_STATE_ON |
Sharing enabled. |
Enumerated Value |
Description |
---|---|
HWM_SHARE_TYPE_MONITOR |
Desktop sharing. |
HWM_SHARE_TYPE_APP |
Program sharing. |
HWM_SHARE_TYPE_WHITE_BOARD |
Whiteboard sharing. |
Enumerated Value |
Description |
---|---|
HWM_MONITOR_MAIN |
Primary monitor. |
HWM_MONITOR_SECONDARY |
Secondary monitor. |
Enumerated Value |
Description |
---|---|
HWM_STOP_SHARE_BY_NORMAL |
The sharing is stopped normally. |
HWM_STOP_SHARE_BY_REJOIN_CONF |
The sharing is stopped due to MMR migration. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot