Skip to content

ONVIF_GetBool

function

Delphi
function ONVIF_GetBool (ParamIdentifier: string; out Value: Boolean): Boolean;
C++Builder
bool __fastcall ONVIF_GetBool(System::UnicodeString ParamIdentifier, /* out */ bool &Value);
C#
public bool ONVIF_GetBool(string ParamIdentifier, out bool Value);
VB.NET
Public Function ONVIF_GetBool(ParamIdentifier As String, ByRef Value As Boolean) As Boolean
C++/Qt
BOOL ONVIF_GetBool (wchar_t *ParamIdentifier, BOOL *Value);

Retrieves, in Value, the value of a boolean parameter of the Datastead RTSP/RTMP/HTTP/ONVIF DirectShow Source Filter used by the current IP camera or URL source (identifier ending with _bool, e.g. RTSP_AudioStream_Available_bool). Returns false if the current source is not running through this filter, or if ParamIdentifier is not a boolean parameter of the filter.

Use the function that matches the suffix of the identifier: ONVIF_GetBool (_bool), ONVIF_GetInt (_int), ONVIF_GetDouble (_double), ONVIF_GetStr (_str). The identifiers are listed in the Parameter identifiers chapter of the filter documentation.