AllJoynServiceInfo
AllJoynServiceInfo
AllJoynServiceInfo
AllJoynServiceInfo
Class
Definition
Exposes unique name and transport information for an advertising app.
public : sealed class AllJoynServiceInfo : IAllJoynServiceInfopublic sealed class AllJoynServiceInfo : IAllJoynServiceInfoPublic NotInheritable Class AllJoynServiceInfo Implements IAllJoynServiceInfo// 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
AllJoynServiceInfo(String, String, UInt16) AllJoynServiceInfo(String, String, UInt16) AllJoynServiceInfo(String, String, UInt16) AllJoynServiceInfo(String, String, UInt16)
Generates an AllJoynServiceInfo object that represents an advertising app. This object provides the unique bus name, object path and transport information.
public : AllJoynServiceInfo(PlatForm::String uniqueName, PlatForm::String objectPath, unsigned short sessionPort)public AllJoynServiceInfo(String uniqueName, String objectPath, UInt16 sessionPort)Public Sub New(uniqueName As String, objectPath As String, sessionPort As UInt16)// You can use this method in JavaScript.
- uniqueName
- PlatForm::String String String String
The unique bus name.
- objectPath
- PlatForm::String String String String
The object path.
- sessionPort
- unsigned short UInt16 UInt16 UInt16
The port for this session.
| 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
ObjectPath ObjectPath ObjectPath ObjectPath
The path to the service object. This path is used to match communications with service objects connected to the session.
public : PlatForm::String ObjectPath { get; }public string ObjectPath { get; }Public ReadOnly Property ObjectPath As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
The service object path.
| 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 port 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 connection 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
|
UniqueName UniqueName UniqueName UniqueName
The unique bus name associated with the advertising app.
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 name.
| 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
FromIdAsync(String) FromIdAsync(String) FromIdAsync(String) FromIdAsync(String)
Converts a DeviceInformation ID acquired by a device enumeration into an AllJoynServiceInfo object.
public : static IAsyncOperation<AllJoynServiceInfo> FromIdAsync(PlatForm::String deviceId)public static IAsyncOperation<AllJoynServiceInfo> FromIdAsync(String deviceId)Public Static Function FromIdAsync(deviceId As String) As IAsyncOperation( Of AllJoynServiceInfo )// You can use this method in JavaScript.
- deviceId
- PlatForm::String String String String
The acquired DeviceInformation ID.
The AllJoynServiceInfo object corresponding to the ID. This object can be used to establish sessions with remote endpoints and to retrieve About data from them.
| Device family |
Windows 10 Anniversary Edition (introduced v10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v3)
|
| Capabilities |
allJoyn
|