[This is preliminary documentation and is subject to change.]
Connects subtitle with video file.
Namespace:
Subtitles.ServicesAssembly: Subtitles.Services (in Subtitles.Services)
Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# |
|---|
bool AddHashLink( Guid session, Guid subtitleID, string videoHash, out string error ) |
| Visual Basic (Declaration) |
|---|
Function AddHashLink ( _ session As Guid, _ subtitleID As Guid, _ videoHash As String, _ <OutAttribute> ByRef error As String _ ) As Boolean |
| Visual C++ |
|---|
bool AddHashLink( Guid session, Guid subtitleID, String^ videoHash, [OutAttribute] String^% error ) |
Parameters
- session
- Type: System..::.Guid
Unique session identifier obtained by ISession..::.LogIn(String, String, String, String%) method.
- subtitleID
- Type: System..::.Guid
Unique identifier of subtitle.
- videoHash
- Type: System..::.String
Calculated hash code for video file. Hash is calculated by algorithm described at http://www.subtitles-on.net/Development.aspx.
- error
- Type: System..::.String%
Error description.