C# Класс OpenHome.Net.Core.PropertyBinary

Binary type property. Only intended for use by auto-generated proxies and providers.
Наследование: Property
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
PropertyBinary ( ParameterBinary aParameter, bool aOwnsNativeProperty = false ) : System

Constructor suitable for use by clients of the device stack

PropertyBinary ( String aName, System aValueChanged ) : System

Constructor suitable for use by clients of the control point stack

SetValue ( byte aData ) : bool

Set the value of the property

Value ( ) : byte[]

Query the value of the property

Приватные методы

Метод Описание
OhNetFree ( IntPtr aPtr ) : void
ServicePropertyCreateBinaryCp ( IntPtr aName, Callback aCallback, IntPtr aPtr ) : IntPtr
ServicePropertyCreateBinaryDv ( IntPtr aParameterHandle ) : IntPtr
ServicePropertyGetValueBinary ( IntPtr aHandle, IntPtr &aData, uint &aLen ) : int
ServicePropertySetValueBinary ( IntPtr aHandle, IntPtr aData, uint aLen ) : uint

Описание методов

PropertyBinary() публичный Метод

Constructor suitable for use by clients of the device stack
public PropertyBinary ( ParameterBinary aParameter, bool aOwnsNativeProperty = false ) : System
aParameter ParameterBinary Parameter defining the name for the property.
aOwnsNativeProperty bool Whether the managed property owns the underlying native property.
Результат System

PropertyBinary() публичный Метод

Constructor suitable for use by clients of the control point stack
public PropertyBinary ( String aName, System aValueChanged ) : System
aName String Property name
aValueChanged System Action to run when the property's value changes
Результат System

SetValue() публичный Метод

Set the value of the property
public SetValue ( byte aData ) : bool
aData byte New value for the property
Результат bool

Value() публичный Метод

Query the value of the property
public Value ( ) : byte[]
Результат byte[]