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

Port.Create

Switch to Manual

Parameters

presenter(已弃用)。
orientationOrientation.
directionDirection.
capacityMulti vs. Single.
typePort data type.

Returns

Port 新端口。

Description

创建端口的工厂方法。