Click or drag to resize
ChirpLogo

ChirpSDKDuration Method

Get the duration, in seconds, for a given payload length.

Namespace:  Chirp
Assemblies:   ChirpSDK-x32 (in ChirpSDK-x32.dll) Version: 3.5.0.17678
  ChirpSDK-x64 (in ChirpSDK-x64.dll) Version: 3.5.0.17671
Syntax
public float Duration(
	uint payloadLength
)

Parameters

payloadLength
Type: SystemUInt32
The byte array length for which the duration is requested.

Return Value

Type: Single
The duration, in seconds, of the given length, -1 if the payload is too short or -2 if the payload is too long.
See Also