Share via


CBPeripheral.GetMaximumWriteValueLength(CBCharacteristicWriteType) 方法

定义

获取写入指定 的值 type的数据的最大写入长度。

[Foundation.Export("maximumWriteValueLengthForType:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual nuint GetMaximumWriteValueLength (CoreBluetooth.CBCharacteristicWriteType type);
abstract member GetMaximumWriteValueLength : CoreBluetooth.CBCharacteristicWriteType -> nuint
override this.GetMaximumWriteValueLength : CoreBluetooth.CBCharacteristicWriteType -> nuint

参数

返回

System.System.UIntPtr System.unativeint
属性

适用于