Click or drag to resize

MediasClientSaveChunkAsync(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.31.15+d671d89394079ff2411e503098d3578f08c2de86
Syntax
C#
public Task SaveChunkAsync(
	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

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