IJvLinkClient Type
Minimal surface that any JV-Link client implementation must expose.
Interface stability rules:
- JVRead: returns Payload/FileBoundary/DownloadPending/EndOfStream; never throws for EOF/boundary.
- JVGets: returns raw byte count (>=0), -1(file boundary), -3(download pending), or < -3 mapped to ComError via ErrorCodes.
Buffer is populated from Shift-JIS decoded bytes extracted directly from SAFEARRAY
Instance members
| Instance member |
Description
|
|
|
Full Usage:
this.Close
Modifiers: abstract |
Closes the active JV-Link session. |
|
|
|
|
|
Timestamp of the currently open file within JV-Link. The getter returns None if COM property access fails. Use TryGetCurrentFileTimestamp for explicit error handling.
|
Full Usage:
this.CurrentReadFileSize
Returns: int64
Modifiers: abstract |
Size (in bytes) of the currently read file ( The getter returns 0 if COM property access fails. Use TryGetCurrentReadFileSize for explicit error handling.
|
|
|
Full Usage:
this.JVLinkVersion
Returns: string
Modifiers: abstract |
Gets the JV-Link version string ( The getter returns an empty string if COM property access fails. Use TryGetJVLinkVersion for explicit error handling.
|
Full Usage:
this.MovieCheck
Parameters:
string
Returns: Result<MovieAvailability, ComError>
Modifiers: abstract |
Checks movie availability via
|
Full Usage:
this.MovieCheckWithType
Parameters:
string
key : string
Returns: Result<MovieAvailability, ComError>
Modifiers: abstract |
Checks movie availability for a given movietype via
|
|
|
|
|
|
|
|
Reads the next workout movie entry via
|
Full Usage:
this.Open
Parameters:
JvOpenRequest
Returns: Result<JvOpenResult, ComError>
Modifiers: abstract |
Requests the download/opening of JV data. Returns JvOpenResult containing session metadata (file counts, timestamp).
|
Full Usage:
this.OpenRealtime
Parameters:
string
-
Data spec ID (4 characters, e.g., "0B12", "0B11", "0B16")
key : string
-
Request key in one of the following formats:
- Race-by-race: "YYYYMMDDJJKKHHRR" or "YYYYMMDDJJRR"
- Daily: "YYYYMMDD"
- Event-based: Parameter returned by WatchEvent callback
Returns: Result<JvOpenResult, ComError>
Modifiers: abstract |
Requests the opening of real-time JV data (JVRTOpen). Returns JvOpenResult containing session metadata (file counts, timestamp).
|
Full Usage:
this.ParentWindowHandle
Modifiers: abstract |
Gets or sets the parent window handle for JV dialogs.
In COM mode, |
Full Usage:
this.PayoffDialogSuppressed
Modifiers: abstract |
Gets or sets whether payoff dialogs are suppressed (
In COM mode, |
|
Reads the next payload from JV-Link (DU cases); never throws for EOF/boundary.
|
Full Usage:
this.SaveFlag
Modifiers: abstract |
Gets or sets whether downloads are persisted to disk ( The getter returns a default value (false) if COM property access fails. Use TryGetSaveFlag for explicit error handling. |
Full Usage:
this.SavePath
Returns: string
Modifiers: abstract |
Gets the save path configured within JV-Link. This property is read-only. Per JV-Link specification, m_savepath can only be modified via JVSetSavePath or JVSetUIProperties methods. The getter returns an empty string if COM property access fails. Use TryGetSavePath for explicit error handling.
|
Full Usage:
this.ServiceKey
Returns: string
Modifiers: abstract |
Gets the service key configured within JV-Link. This property is read-only. Per JV-Link specification, m_servicekey can only be modified via JVSetServiceKey or JVSetUIProperties methods. The getter returns an empty string if COM property access fails. Use TryGetServiceKey for explicit error handling.
|
|
|
|
Attempts to set whether payoff dialogs are suppressed (
In COM mode,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
this.TotalReadFileSize
Returns: int64
Modifiers: abstract |
Total size (in KB, kilobytes) remaining in the current download session ( JV-Link returns this value in KB (value / 1024). The getter returns 0 if COM property access fails. Use TryGetTotalReadFileSize for explicit error handling.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Xanthos