Documentation
IPS_SendMediaEvent
bool IPS_SendMediaEvent (int $MediaID)
Parameters
| MediaID | ID of the media object |
Returns
If the function succeeds, it returns TRUE, otherwise FALSE.
Description
The function sends a message that the media object with ID MediaID has changed. Size, CRC, time of the last update and availability of the media object are determined anew. This message is used for different purposes, e.g., to update an image/form. The function is only needed if the file was modified outside of IP-Symcon. When using IPS_SetMediaFile or IPS_SetMediaContent, the notification is sent automatically.
Example
IPS_SendMediaEvent(12345);