WiFiDirectServiceAutoAcceptSessionConnectedEventArgs
WiFiDirectServiceAutoAcceptSessionConnectedEventArgs
WiFiDirectServiceAutoAcceptSessionConnectedEventArgs
WiFiDirectServiceAutoAcceptSessionConnectedEventArgs
Class
Definition
Returned when a WiFiDirectServiceAdvertiser.AutoAcceptSessionConnected event is raised.
public : sealed class WiFiDirectServiceAutoAcceptSessionConnectedEventArgs : IWiFiDirectServiceAutoAcceptSessionConnectedEventArgspublic sealed class WiFiDirectServiceAutoAcceptSessionConnectedEventArgs : IWiFiDirectServiceAutoAcceptSessionConnectedEventArgsPublic NotInheritable Class WiFiDirectServiceAutoAcceptSessionConnectedEventArgs Implements IWiFiDirectServiceAutoAcceptSessionConnectedEventArgs// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Remarks
Your code does not instantiate this class directly. An instance is passed as an argument to your WiFiDirectServiceAdvertiser.AutoAcceptSessionConnected event handler.
Properties
Session Session Session Session
Gets the WiFiDirectServiceSession that was created when the connection was automatically accepted.
public : WiFiDirectServiceSession Session { get; }public WiFiDirectServiceSession Session { get; }Public ReadOnly Property Session As WiFiDirectServiceSession// You can use this property in JavaScript.
- Value
- WiFiDirectServiceSession WiFiDirectServiceSession WiFiDirectServiceSession WiFiDirectServiceSession
The session object corresponding to this automatically accepted connection.
SessionInfo SessionInfo SessionInfo SessionInfo
Gets the session information buffer that corresponds to this automatically accepted connection.
public : IBuffer SessionInfo { get; }public IBuffer SessionInfo { get; }Public ReadOnly Property SessionInfo As IBuffer// You can use this property in JavaScript.