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

Port.Create

切换到手册

参数

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

返回

Port 新端口。

描述

创建端口的工厂方法。