SenseRecording.LoadFromFileAsync Method (String, UnicodeEncoding)

Loads SenseRecording from a file in application's installation directory

Namespace: Lumia.Sense.Testing
Assembly: Lumia.Sense.Testing (in Lumia.Sense.Testing.dll) Version: 255.255.255.255

Lumia.Sense.Testing.SenseRecording.LoadFromFileAsync = function(filename, encoding);

Parameters

filename
Type: System.String
Recoding file name
encoding
Type: Windows.Storage.Streams.UnicodeEncoding
Content encoding

Return Value

Type: IAsyncOperation<SenseRecording>
Loaded recording

ExceptionCondition
COMExceptionAll errors are thrown as instances of COMException. To get details about the error pass the HResult property of the exception to GetSenseError(Int32). This method can return the following SenseError enumeration values: GeneralFailure
Show: