Method TryGetTimestamp
TryGetTimestamp(out long)
Get the timestamp of the frame if possible.
Declaration
public bool TryGetTimestamp(out long timestampNs)
Parameters
| Type | Name | Description |
|---|---|---|
| long | timestampNs | The timestamp of the camera frame, equal to timestampNs. |
Returns
| Type | Description |
|---|---|
| bool | true if the frame has a timestamp. Otherwise, false. Equal to hasTimestamp. |