ArcGISStreamService.withPortalItem constructor

ArcGISStreamService.withPortalItem(
  1. PortalItem item
)

Creates a new stream service from a portal item.

The supported item types are PortalItemType.feed and PortalItemType.streamService.

Parameters: