SmartGlassAuxiliaryStream.OnConnect Event

Raised after both the Xbox One console and the SmartGlass-enabled device open the auxiliary stream and successfully establish a connection.

Syntax

public:
event TypedEventHandler<SmartGlassAuxiliaryStream^ , Object^ >^ OnConnect {
         EventRegistrationToken add (TypedEventHandler<SmartGlassAuxiliaryStream^ , Object^ >^ value);
         void remove (EventRegistrationToken token);
}  

Remarks

After this event occurs, both sides of the auxiliary stream can freely read data from and write data to the stream.

Requirements

Namespace: Windows.Xbox.SmartGlass

Metadata: windows.winmd

See also

Reference

SmartGlassAuxiliaryStream.Open

SmartGlassAuxiliaryStream.Read

SmartGlassAuxiliaryStream.Write

SmartGlassAuxiliaryStream Class

SmartGlassDevice Members

Windows.Xbox.SmartGlass Namespace