C# 클래스 OpenHome.Net.ControlPoint.ArgumentBinary

Binary type argument. Only intended for use by auto-generated proxies.
상속: Argument
파일 보기 프로젝트 열기: openhome/ohNet

공개 메소드들

메소드 설명
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)

비공개 메소드들

메소드 설명
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

메소드 상세

ArgumentBinary() 공개 메소드

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
리턴 System

ArgumentBinary() 공개 메소드

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
리턴 System