Share via


IAllJoynProducer 接口

定义

重要

Windows.Devices.AllJoyn 命名空间中的类型已弃用,将来的 Windows 版本中可能不可用。 AllJoyn(由 AllSeen Alliance 赞助)是一种开源发现和通信协议,适用于物联网 (IoT) 方案,例如开灯和关灯以及读取温度。 有关替代项(如 IoTivity LiteIoTivity),请参阅 iotivity.org 网站。

表示要与 AllJoynBusObject 一起使用的 AllJoyn 生成者。

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
属性

Windows 要求

设备系列
Windows 10 Anniversary Edition (在 10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v3.0 中引入)
应用功能
allJoyn

方法

SetBusObject(AllJoynBusObject)

重要

Windows.Devices.AllJoyn 命名空间中的类型已弃用,将来的 Windows 版本中可能不可用。 AllJoyn(由 AllSeen Alliance 赞助)是一种开源发现和通信协议,适用于物联网 (IoT) 方案,例如开灯和关灯以及读取温度。 有关替代项(如 IoTivity LiteIoTivity),请参阅 iotivity.org 网站。

设置添加生成者时要使用的指定总线对象。

适用于