AllJoynBusObject AllJoynBusObject AllJoynBusObject AllJoynBusObject AllJoynBusObject Class

Definition

Represents a bus object available over the transport agnostic communication pipeline.

public : sealed class AllJoynBusObject
struct winrt::Windows::Devices::AllJoyn::AllJoynBusObject
public sealed class AllJoynBusObject
Public NotInheritable Class AllJoynBusObject
var allJoynBusObject = new allJoynBusObject();
Attributes

Windows 10 requirements

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

Constructors

AllJoynBusObject() AllJoynBusObject() AllJoynBusObject() AllJoynBusObject() AllJoynBusObject()

Creates an AllJoynBusObject with the object path as the root object path. i.e. "/".

AllJoynBusObject(String) AllJoynBusObject(String) AllJoynBusObject(String) AllJoynBusObject(String) AllJoynBusObject(String)

Create an AllJoynBusObject that will implement one or more interfaces at the specified object path.

AllJoynBusObject(String, AllJoynBusAttachment) AllJoynBusObject(String, AllJoynBusAttachment) AllJoynBusObject(String, AllJoynBusAttachment) AllJoynBusObject(String, AllJoynBusAttachment) AllJoynBusObject(String, AllJoynBusAttachment)

Create an AllJoynBusObject that will implement one or more interfaces at the specified object path with the AllJoynBusAttachment specified.

Properties

BusAttachment BusAttachment BusAttachment BusAttachment BusAttachment

Gets the bus attachment of this AllJoynBusObject.

Session Session Session Session Session

Gets the AllJoynSession for this AllJoynBusObject.

Methods

AddProducer(IAllJoynProducer) AddProducer(IAllJoynProducer) AddProducer(IAllJoynProducer) AddProducer(IAllJoynProducer) AddProducer(IAllJoynProducer)

Adds an additional interface to be produced to the service provider.

Start() Start() Start() Start() Start()

Starts the AllJoynBusObject. If the bus attachment is not already explicitly connected, starting the producer will automatically connect the bus attachment.

Stop() Stop() Stop() Stop() Stop()

Stops the AllJoynBusObject.

Events

Stopped Stopped Stopped Stopped Stopped

Event triggered when the AllJoynBusObject is stopped.