CHAI SDK  Version 1.3
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
CPNS::IRemoteDevice_WatcherNotificationHandler Class Reference

Notification handler for remote device's watcher feature. More...

Public Member Functions

virtual void OnRemoteDevice_Watcher_DestinationChange (CPNS::IRemoteDevice *const pRemoteDevice, CPNS::uint16 const wDestCount)
 Called when some destination changed on the related remote device. More...
 
virtual void OnRemoteDevice_Watcher_SourceChange (CPNS::IRemoteDevice *const pRemoteDevice, CPNS::uint16 const wDestCount)
 Called when some source changed on the related remote device. More...
 
virtual void OnRemoteDevice_Watcher_ControllerAssignmentChange (CPNS::IRemoteDevice *const pRemoteDevice, CPNS::Endpoint const outputEndpoint)
 Called when some controller assignment changed behind the specified output. More...
 
virtual void OnRemoteDevice_Watcher_SmartConnectOpenSession (CPNS::IRemoteDevice *const pRemoteDevice, CPNS::uint16 const wSessionID)
 Called when a SmartConnect session is open on the related remote device. More...
 
virtual void OnRemoteDevice_Watcher_SmartConnectOperationCompleted (CPNS::IRemoteDevice *const pRemoteDevice, CPNS::uint16 const wSessionID)
 Called when a SmartConnect session is terminated on the related remote device. More...
 
virtual void OnRemoteDevice_Watcher_PropertyChanged (CPNS::IRemoteDevice *const pRemoteDevice, CPNS::uint16 const wPropertyNum)
 Called when a property value changed on the related remote device. More...
 
virtual void OnRemoteDevice_Watcher_AudioSourceDefinitionChanged (CPNS::IRemoteDevice *const pRemoteDevice)
 
virtual void OnRemoteDevice_Watcher_AudioTargetDefinitionChanged (CPNS::IRemoteDevice *const pRemoteDevice)
 
virtual void OnRemoteDevice_Watcher_AudioConnectionChanged (CPNS::IRemoteDevice *const pRemoteDevice)
 

Detailed Description

Notification handler for remote device's watcher feature.

See Also
IRemoteDevice::RegisterWatcherNotificationHandler

Member Function Documentation

virtual void CPNS::IRemoteDevice_WatcherNotificationHandler::OnRemoteDevice_Watcher_ControllerAssignmentChange ( CPNS::IRemoteDevice *const  pRemoteDevice,
CPNS::Endpoint const  outputEndpoint 
)
inlinevirtual

Called when some controller assignment changed behind the specified output.

Remarks
This notification can be called only if the watcher has been registered with CPNS::Enums::WPOI_Controllers flag set.
Parameters
[in]outputEndpointthe output endpoint
virtual void CPNS::IRemoteDevice_WatcherNotificationHandler::OnRemoteDevice_Watcher_DestinationChange ( CPNS::IRemoteDevice *const  pRemoteDevice,
CPNS::uint16 const  wDestCount 
)
inlinevirtual

Called when some destination changed on the related remote device.

Remarks
This notification can be called only if the watcher has been registered with CPNS::Enums::WPOI_Destinations flag set.
Parameters
[in]wDestCounttotal number of destinations for Outputs that are not locked or hidden. This value can be 0xFFFF is issued from a CHAI version < 1.2
virtual void CPNS::IRemoteDevice_WatcherNotificationHandler::OnRemoteDevice_Watcher_PropertyChanged ( CPNS::IRemoteDevice *const  pRemoteDevice,
CPNS::uint16 const  wPropertyNum 
)
inlinevirtual

Called when a property value changed on the related remote device.

Remarks
This notification can be called only if the watcher has been registered with CPNS::Enums::WPOI_Properties flag set.
Parameters
[in]wPropertyNumthe property number
virtual void CPNS::IRemoteDevice_WatcherNotificationHandler::OnRemoteDevice_Watcher_SmartConnectOpenSession ( CPNS::IRemoteDevice *const  pRemoteDevice,
CPNS::uint16 const  wSessionID 
)
inlinevirtual

Called when a SmartConnect session is open on the related remote device.

Remarks
This notification can be called only if the watcher has been registered with CPNS::Enums::WPOI_SmartConnect flag set.
Parameters
[in]wSessionIDthe SmartConnect session ID
virtual void CPNS::IRemoteDevice_WatcherNotificationHandler::OnRemoteDevice_Watcher_SmartConnectOperationCompleted ( CPNS::IRemoteDevice *const  pRemoteDevice,
CPNS::uint16 const  wSessionID 
)
inlinevirtual

Called when a SmartConnect session is terminated on the related remote device.

Remarks
This notification can be called only if the watcher has been registered with CPNS::Enums::WPOI_SmartConnect flag set.
Parameters
[in]wSessionIDthe SmartConnect session ID
virtual void CPNS::IRemoteDevice_WatcherNotificationHandler::OnRemoteDevice_Watcher_SourceChange ( CPNS::IRemoteDevice *const  pRemoteDevice,
CPNS::uint16 const  wDestCount 
)
inlinevirtual

Called when some source changed on the related remote device.

Remarks
This notification can be called only if the watcher has been registered with CPNS::Enums::WPOI_Sources flag set.
Parameters
[in]wSrcCounttotal number of sources for Input that are not hidden.