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

Port.Create

Parameters

presenter (obsolete).
orientation Orientation.
direction Direction.
capacity Multi vs. Single.
type Port data type.

Returns

Port The new port.

Description

Factory method for creating a port.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答