prepareReportingCoords static method

int prepareReportingCoords(
  1. Coordinates coords, {
  2. int categId = 0,
})

Prepare reporting based on custom coordinates

Parameters

  • IN coords Report coordinates
  • IN categId Report category id, default = 0. If != 0, a dry run test is performed to check if the given category id can be reported.

Returns if in dry run mode ( category id != 0 )

Returns if in preparing run mode ( category id == 0 )

Throws

  • An exception if it fails.

Implementation

static int prepareReportingCoords(
  final Coordinates coords, {
  final int categId = 0,
}) {
  final OperationResult result = staticMethod(
    'SocialOverlay',
    'prepareReportingCoords',
    args: <String, dynamic>{'coords': coords, 'categId': categId},
  );
  return result['result'];
}