SocialOverlay class abstract
Social Overlays allows the reporting and retrieval of social events
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- reportsOverlayInfo → SocialReportsOverlayInfo
-
Get social reports overlay info.
no setter
- transferStatistics → TransferStatistics
-
Get the transfer statistics
no setter
Static Methods
-
addComment(
{required OverlayItem item, required String comment, void onComplete(GemError error)?}) → EventHandler? - Add a comment to report.
-
cancel(
EventHandler handler) → void - Cancel an Social Overlay operation.
-
confirmReport(
OverlayItem item, {void onComplete(GemError error)?}) → EventHandler? - Confirm an existing report as in effect.
-
deleteReport(
OverlayItem item, {void onComplete(GemError error)?}) → EventHandler? - Delete an owned report.
-
denyReport(
OverlayItem item, {void onComplete(GemError error)?}) → EventHandler? - Deny an existing report as not in effect anymore.
-
prepareReporting(
{int categId = 0}) → int - Prepare reporting based on the current datasource used by PositionService
-
prepareReportingCoords(
Coordinates coords, {int categId = 0}) → int - Prepare reporting based on custom coordinates
-
registerReportListener(
OverlayItem report, SocialReportListener listener) → GemError - Register the given listener for the given report item
-
report(
{required int prepareId, required int categId, String description = '', Uint8List? snapshot, ImageFileFormat? format, ParameterList? params, void onComplete(GemError error)?}) → EventHandler? - Report a social event.
-
unregisterReportListener(
OverlayItem report, SocialReportListener listener) → GemError - Unregister the given listener for the given report item
-
updateReport(
{required OverlayItem item, required SearchableParameterList params, void onComplete(GemError error)?}) → EventHandler? - Update an existing report parameters.