SmartGlassDeviceWatcher.DeviceAdded Event

This event is raised when a new SmartGlass device connects to the Xbox One console.

Syntax

public:
event TypedEventHandler<SmartGlassDeviceWatcher^ , SmartGlassDevice^ >^ DeviceAdded {
         EventRegistrationToken add (TypedEventHandler<SmartGlassDeviceWatcher^ , SmartGlassDevice^ >^ value);
         void remove (EventRegistrationToken token);
}  

Remarks

Note that this event is not raised for SmartGlass devices that are already connected when a title is started. Titles should call SmartGlassDevice.FindAllAsync at startup to identify all connected SmartGlass devices.

Requirements

Namespace: Windows.Xbox.SmartGlass

Metadata: windows.winmd

See also

Reference

SmartGlassDeviceWatcher Class

SmartGlassDeviceWatcher Members

Windows.Xbox.SmartGlass Namespace