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
Syntax
public static IAsyncOperation<SenseRecording> LoadFromFileAsync(
string filename,
UnicodeEncoding encoding
)
'Declaration
Public Shared Function LoadFromFileAsync (
filename As String,
encoding As UnicodeEncoding
) As IAsyncOperation(Of SenseRecording)
public:
static IAsyncOperation<SenseRecording^>^ LoadFromFileAsync(
[InAttribute] String^ filename,
[InAttribute] UnicodeEncoding encoding
)
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
Exceptions
Exception | Condition |
---|---|
COMException | All 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 |