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

Overview

Factory for creating new IScanTargetClient instances. More...

class ScanTargetClientFactory {
public:
    // methods

    static IScanTargetClient Create(
        RuntimeEnvironment env,
        ScanTargetResponse mockResponse = null
    );
};

Detailed Documentation

Factory for creating new IScanTargetClient instances.

Methods

static IScanTargetClient Create(
    RuntimeEnvironment env,
    ScanTargetResponse mockResponse = null
)

Creates a new IScanTargetClient.

Parameters:

env

the runtime environment in which to create the client

mockResponse

a ScanTargetResponse to return in the Mock and Playback environments. In other environments, this is ignored.