defaultGeoposition property

BasicGeoposition? get defaultGeoposition

Implementation

static BasicGeoposition? get defaultGeoposition {
  final activationFactoryPtr =
      CreateActivationFactory(_className, IID_IGeolocatorStatics2);
  final object = IGeolocatorStatics2.fromRawPointer(activationFactoryPtr);

  try {
    return object.defaultGeoposition;
  } finally {
    object.release();
  }
}
set defaultGeoposition (BasicGeoposition? value)

Implementation

static set defaultGeoposition(BasicGeoposition? value) {
  final activationFactoryPtr =
      CreateActivationFactory(_className, IID_IGeolocatorStatics2);
  final object = IGeolocatorStatics2.fromRawPointer(activationFactoryPtr);

  try {
    object.defaultGeoposition = value;
  } finally {
    object.release();
  }
}