AllJoynAcceptSessionJoinerEventArgs
AllJoynAcceptSessionJoinerEventArgs
AllJoynAcceptSessionJoinerEventArgs
AllJoynAcceptSessionJoinerEventArgs
Class
Definition
Contains information about a join session request that is used to determine if the request will be accepted and initiate the session connection.
public : sealed class AllJoynAcceptSessionJoinerEventArgs : IAllJoynAcceptSessionJoinerEventArgspublic sealed class AllJoynAcceptSessionJoinerEventArgs : IAllJoynAcceptSessionJoinerEventArgsPublic NotInheritable Class AllJoynAcceptSessionJoinerEventArgs Implements IAllJoynAcceptSessionJoinerEventArgs// You can use this class in JavaScript.
- Attributes
| 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)
|
| Capabilities |
allJoyn
|
Constructors
AllJoynAcceptSessionJoinerEventArgs(String, UInt16, AllJoynTrafficType, Byte, IAllJoynAcceptSessionJoiner) AllJoynAcceptSessionJoinerEventArgs(String, UInt16, AllJoynTrafficType, Byte, IAllJoynAcceptSessionJoiner) AllJoynAcceptSessionJoinerEventArgs(String, UInt16, AllJoynTrafficType, Byte, IAllJoynAcceptSessionJoiner) AllJoynAcceptSessionJoinerEventArgs(String, UInt16, AllJoynTrafficType, Byte, IAllJoynAcceptSessionJoiner)
Generates an object containing information about the connection being accepted to the session and the method that completes the session join.
public : AllJoynAcceptSessionJoinerEventArgs(PlatForm::String uniqueName, unsigned short sessionPort, AllJoynTrafficType trafficType, Byte proximity, IAllJoynAcceptSessionJoiner acceptSessionJoiner)public AllJoynAcceptSessionJoinerEventArgs(String uniqueName, UInt16 sessionPort, AllJoynTrafficType trafficType, Byte proximity, IAllJoynAcceptSessionJoiner acceptSessionJoiner)Public Sub New(uniqueName As String, sessionPort As UInt16, trafficType As AllJoynTrafficType, proximity As Byte, acceptSessionJoiner As IAllJoynAcceptSessionJoiner)// You can use this method in JavaScript.
- uniqueName
- PlatForm::String String String String
The unique bus name.
- sessionPort
- unsigned short UInt16 UInt16 UInt16
The session port used for the connection.
The type of traffic provided over the connection.
- proximity
- Byte Byte Byte Byte
Indicates network proximity.
- acceptSessionJoiner
- IAllJoynAcceptSessionJoiner IAllJoynAcceptSessionJoiner IAllJoynAcceptSessionJoiner IAllJoynAcceptSessionJoiner
The IAllJoynAcceptSessionJoiner object used to complete the session join.
| 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)
|
| Capabilities |
allJoyn
|
Properties
SameNetwork SameNetwork SameNetwork SameNetwork
Indicates if the app joining the session is on the same network.
public : PlatForm::Boolean SameNetwork { get; }public bool SameNetwork { get; }Public ReadOnly Property SameNetwork As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
True if on the same network; otherwise, false.
| 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)
|
| Capabilities |
allJoyn
|
SamePhysicalNode SamePhysicalNode SamePhysicalNode SamePhysicalNode
The app joining the session is on the same physical node.
public : PlatForm::Boolean SamePhysicalNode { get; }public bool SamePhysicalNode { get; }Public ReadOnly Property SamePhysicalNode As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
True if on the same node; otherwise, false.
| 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)
|
| Capabilities |
allJoyn
|
SessionPort SessionPort SessionPort SessionPort
The session port being used to connect to the session.
public : ushort SessionPort { get; }public ushort SessionPort { get; }Public ReadOnly Property SessionPort As ushort// You can use this property in JavaScript.
- Value
- ushort ushort ushort ushort
The session port number.
| 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)
|
| Capabilities |
allJoyn
|
TrafficType TrafficType TrafficType TrafficType
The traffic type supported during the session.
public : AllJoynTrafficType TrafficType { get; }public AllJoynTrafficType TrafficType { get; }Public ReadOnly Property TrafficType As AllJoynTrafficType// You can use this property in JavaScript.
The traffic type.
| 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)
|
| Capabilities |
allJoyn
|
UniqueName UniqueName UniqueName UniqueName
The unique bus name of the app requesting a session connection.
public : PlatForm::String UniqueName { get; }public string UniqueName { get; }Public ReadOnly Property UniqueName As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
The unique bus name of the app.
| 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)
|
| Capabilities |
allJoyn
|
Methods
Accept() Accept() Accept() Accept()
Called to accept the session connection.
public : void Accept()public void Accept()Public Function Accept() As void// You can use this method in JavaScript.
| 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)
|
| Capabilities |
allJoyn
|