ARSessionManager constructor

ARSessionManager(
  1. int id,
  2. BuildContext buildContext,
  3. PlaneDetectionConfig planeDetectionConfig, {
  4. bool debug = false,
})

Implementation

ARSessionManager(int id, this.buildContext, this.planeDetectionConfig,
    {this.debug = false}) {
  _channel = MethodChannel('arsession_$id');
  _channel.setMethodCallHandler(_platformCallHandler);
  if (debug) {
    print("ARSessionManager initialized");
  }
}