class ScanStore (Niantic.ARDK.AR.Scanning.ScanStore)

Overview

class ScanStore: Niantic.ARDK.AR.Scanning.IScanStore {
public:
    // classes

    class GetUploadUrlRequest;

    // methods

    void DeleteSavedScan(string scanId);
    SavedScan GetSavedScan(string scanId);

    List<string> GetScanArchivePaths(
        string scanId,
        IScanStore.UploadUserInfo uploadUserInfo
    );

    List<string> GetScanIDs();
    List<LocationData> GetScanLocationData(string scanId);
    void SaveCurrentScan(string scanId);

    async void UploadScan(
        string scanId,
        IScanStore.UploadUserInfo uploadUserInfo,
        Action<float> onProgress,
        Action<bool, string> onResult
    );
};

Inherited Members

public:
    // classes

    class UploadUserInfo;

    // methods

    void DeleteSavedScan(string scanId);
    SavedScan GetSavedScan(string scanId);
    List<string> GetScanArchivePaths(string scanId, UploadUserInfo uploadUserInfo);
    List<string> GetScanIDs();
    List<LocationData> GetScanLocationData(string scanId);
    void SaveCurrentScan(string scanId);

    void UploadScan(
        string scanId,
        UploadUserInfo uploadUserInfo,
        Action<float> onProgress,
        Action<bool, string> onResult
    );

Detailed Documentation

Methods

async void UploadScan(
    string scanId,
    IScanStore.UploadUserInfo uploadUserInfo,
    Action<float> onProgress,
    Action<bool, string> onResult
)

Upload the saved scan to Niantic.

Parameters:

scanId

The ID of the scan to upload.

uploadUserInfo

onProgress

Callback with the progress of the current upload.

onResult

Called when upload completes, with if the upload is successful or not.