Class DataSetProvider
Images datas set provider.
Implements
Inherited Members
Namespace: Evergine.ARMobile.Trackables.Images
Assembly: Evergine.ARMobile.dll
Syntax
public abstract class DataSetProvider : Service, IDependencyObject
Properties
DataSetFilePath
Gets or sets dataset file path.
Declaration
public string DataSetFilePath { get; set; }
Property Value
Type | Description |
---|---|
string |
HasImages
Gets a value indicating whether dataset has images.
Declaration
public bool HasImages { get; }
Property Value
Type | Description |
---|---|
bool |
NumberOfImages
Gets dataset number of images.
Declaration
public abstract int NumberOfImages { get; }
Property Value
Type | Description |
---|---|
int |
Methods
CheckInitialization()
Checks provider initialization.
Declaration
protected virtual void CheckInitialization()
Exceptions
Type | Condition |
---|---|
InvalidOperationException | When path has not been established. |
GetImagePathsWithSizesDataAsync(Stream)
Gets image paths information.
Declaration
protected Task<IEnumerable<ImageWithSizesData>> GetImagePathsWithSizesDataAsync(Stream dataSetStream)
Parameters
Type | Name | Description |
---|---|---|
Stream | dataSetStream | Dataset stream. |
Returns
Type | Description |
---|---|
Task<IEnumerable<ImageWithSizesData>> | Collection of dataset images data. |
LoadDataSetAsync()
Loads images dataset.
Declaration
public virtual Task LoadDataSetAsync()
Returns
Type | Description |
---|---|
Task | A Task representing the result of the asynchronous operation. |