add method

void add(
  1. int overlayId
)

Add an online overlay to the collection.

Add an overlay to the collection. If the overlay has categories, all are added to the collection

Parameters

  • IN overlayId The overlay id. The list of available overlays can be obtained by using OverlayService.

Throws

  • An exception if it fails

Implementation

void add(final int overlayId) {
  objectMethod(
    _pointerId,
    'OverlayMutableCollection',
    'add',
    args: overlayId,
  );
}