C# Class OpenHome.Net.Core.PropertyBinary

Binary type property. Only intended for use by auto-generated proxies and providers.
Inheritance: Property
Mostrar archivo Open project: openhome/ohNet Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
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

Method Details

PropertyBinary() public method

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.
return System

PropertyBinary() public method

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
return System

SetValue() public method

Set the value of the property
public SetValue ( byte aData ) : bool
aData byte New value for the property
return bool

Value() public method

Query the value of the property
public Value ( ) : byte[]
return byte[]