Experimental: this API is experimental and might be changed or removed in the future.

Port.Create

Parameters

presenter(obsolete).
orientationOrientation.
directionDirection.
capacityMulti vs. Single.
typePort data type.

Returns

Port The new port.

Description 描述

Factory method for creating a port.