GattPresentationFormat 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示单个演示文稿格式 GATT 描述符的值。
public ref class GattPresentationFormat sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class GattPresentationFormat final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class GattPresentationFormat final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class GattPresentationFormat
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class GattPresentationFormat
Public NotInheritable Class GattPresentationFormat
- 继承
- 属性
Windows 要求
| 设备系列 |
Windows 10 (在 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox 中引入)
|
| API contract |
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)
|
| 应用功能 |
bluetooth
|
注解
版本历史记录
| Windows 版本 | SDK 版本 | 已添加值 |
|---|---|---|
| 1703 | 15063 | FromParts |
属性
| BluetoothSigAssignedNumbers |
获取蓝牙 SIG 分配的数字命名空间的值。 |
| Description |
获取 GattPresentationFormat 对象的 Description。 |
| Exponent |
获取 GattPresentationFormat 对象的指数。 |
| FormatType |
获取 GattPresentationFormat 对象的 Format 类型。 |
| Namespace |
获取 GattPresentationFormat 对象的命名空间。 |
| Unit |
获取 GattPresentationFormat 对象的 Unit。 |
方法
| FromParts(Byte, Int32, UInt16, Byte, UInt16) |
从部件创建 GattPresentationFormat 对象。 |