Share via


IAllJoynProducer Interface

Definition

Important

The types in the Windows.Devices.AllJoyn namespace are deprecated, and might not be available in future versions of Windows. AllJoyn—sponsored by AllSeen Alliance—was an open-source discovery and communication protocol for Internet of Things (IoT) scenarios such as turning lights on and off, and reading temperatures. For alternatives, such as IoTivity Lite and IoTivity, refer to the iotivity.org website.

Represents an AllJoyn producer to be used with AllJoynBusObject.

public interface class IAllJoynProducer
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.Guid(2634565241, 18075, 18778, 167, 16, 172, 80, 241, 35, 6, 159)]
struct IAllJoynProducer
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.Guid(2634565241, 18075, 18778, 167, 16, 172, 80, 241, 35, 6, 159)]
/// [Windows.Foundation.Metadata.Deprecated("IAllJoynProducer has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
struct IAllJoynProducer
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.Guid(2634565241, 18075, 18778, 167, 16, 172, 80, 241, 35, 6, 159)]
public interface IAllJoynProducer
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.Guid(2634565241, 18075, 18778, 167, 16, 172, 80, 241, 35, 6, 159)]
[Windows.Foundation.Metadata.Deprecated("IAllJoynProducer has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
public interface IAllJoynProducer
Public Interface IAllJoynProducer
Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)
App capabilities
allJoyn

Methods

SetBusObject(AllJoynBusObject)

Important

The types in the Windows.Devices.AllJoyn namespace are deprecated, and might not be available in future versions of Windows. AllJoyn—sponsored by AllSeen Alliance—was an open-source discovery and communication protocol for Internet of Things (IoT) scenarios such as turning lights on and off, and reading temperatures. For alternatives, such as IoTivity Lite and IoTivity, refer to the iotivity.org website.

Sets the specified bus object to be used when the producer is added.

Applies to