This event is raised when a new SmartGlass device connects to the Xbox One console.
public:
event TypedEventHandler<SmartGlassDeviceWatcher^ , SmartGlassDevice^ >^ DeviceAdded {
EventRegistrationToken add (TypedEventHandler<SmartGlassDeviceWatcher^ , SmartGlassDevice^ >^ value);
void remove (EventRegistrationToken token);
}
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.
Namespace: Windows.Xbox.SmartGlass
Metadata: windows.winmd