HMCharacteristicMetadata.ValidValues 属性

定义

NSNumber数组,用于保存 的有效值 HMCharacteristic

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual Foundation.NSNumber[] ValidValues { [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("validValues", ObjCRuntime.ArgumentSemantic.Copy)] get; }
member this.ValidValues : Foundation.NSNumber[]

属性值

(此节点的更多文档即将)

此值可为 null

属性

适用于