C# Class OpenHome.Net.ControlPoint.ArgumentBinary

Binary type argument. Only intended for use by auto-generated proxies.
Inheritance: Argument
Afficher le fichier Open project: openhome/ohNet

Méthodes publiques

Méthode Description
ArgumentBinary ( ParameterBinary aParameter ) : System

Constructor for binary output argument for an action

Intended to be created without any value. The value is later set after CpService.InvokeAction is called but before the invocation's callback is run)

ArgumentBinary ( ParameterBinary aParameter, byte aData ) : System

Constructor for binary input argument for an action

Intended to be write only (its value is written on construction and not be later read)

Private Methods

Méthode Description
ActionArgumentCreateBinaryInput ( IntPtr aParameter, IntPtr aData, int aLength ) : IntPtr
ActionArgumentCreateBinaryOutput ( IntPtr aParameter ) : IntPtr
ActionArgumentGetValueBinary ( IntPtr aHandle, IntPtr &aData, uint &aLen ) : void
OhNetFree ( IntPtr aPtr ) : void
Value ( ) : byte[]

Read the value of a binary argument.

Only intended for use with output arguments inside the invocation completed callback. Can only be called once as the first call extracts the string data from the underlying native object

Method Details

ArgumentBinary() public méthode

Constructor for binary output argument for an action
Intended to be created without any value. The value is later set after CpService.InvokeAction is called but before the invocation's callback is run)
public ArgumentBinary ( ParameterBinary aParameter ) : System
aParameter OpenHome.Net.Core.ParameterBinary Defines the name plus any bounds to the value for the argument. /// Must have been previously added to the action using Action.AddOutputParameter
Résultat System

ArgumentBinary() public méthode

Constructor for binary input argument for an action
Intended to be write only (its value is written on construction and not be later read)
public ArgumentBinary ( ParameterBinary aParameter, byte aData ) : System
aParameter OpenHome.Net.Core.ParameterBinary Defines the name for the argument. /// Must have been previously added to the action using Action.AddInputParameter
aData byte Value for the argument
Résultat System