setUserTrackingMode$1 method

void setUserTrackingMode$1(
  1. MLNUserTrackingMode mode, {
  2. required bool animated,
  3. ObjCBlock<Void Function()>? completionHandler,
})

Sets the mode used to track the user location, with an optional transition and completion handler.

@param mode The mode used to track the user location. @param animated If YES, there is an animated transition from the current viewport to a viewport that results from the change to mode. If NO, the map view instantaneously changes to the new viewport. This parameter only affects the initial transition; subsequent changes to the user location or heading are always animated. @param completion The block executed after the animation finishes.

Implementation

void setUserTrackingMode$1(MLNUserTrackingMode mode, {required bool animated,objc.ObjCBlock<ffi.Void Function()>? completionHandler}) {
_objc_msgSend_1iu40ms(this.ref.pointer, _sel_setUserTrackingMode_animated_completionHandler_, mode.value, animated, completionHandler?.ref.pointer ?? ffi.nullptr);

}