Click or drag to resize

MediasClientSaveChunk(Guid, Int64, Byte) Method

To get started, call one of the following methods:
  • Anysense.API.Client.V1.ApiClient.Create
  • Anysense.API.Client.V1.ApiClient.CreateAsync
  • Anysense.API.Client.V1.ApiClient.CreateWithToken
  • Anysense.API.Client.V1.ApiClient.CreateWithTokenAsync
See Anysense.API.Client.Shared.BaseClient<T> for documentation on these methods.
Writes a chunk of data to the file.

Namespace: Anysense.API.Client.V1
Assembly: Anysense.API.Client (in Anysense.API.Client.dll) Version: 1.29.8-dev
Syntax
C#
public void SaveChunk(
	Guid mediaId,
	long offset,
	byte[] payload
)

Parameters

mediaId  Guid
The Media Id submitted - or returned - at Initiate.
offset  Int64
Chunk offset (the start position in the FileStream)
payload  Byte
 

Return Value

The MediaId
Remarks
The data to store, should be posted as raw bytes in the body content.
See Also