AVCaptureVideoPreviewLayer.SetSessionWithNoConnection 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将此层附加到 , session
但不初始化 Connection。
[Foundation.Export("setSessionWithNoConnection:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetSessionWithNoConnection (AVFoundation.AVCaptureSession session);
[Foundation.Export("setSessionWithNoConnection:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 7, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetSessionWithNoConnection (AVFoundation.AVCaptureSession session);
abstract member SetSessionWithNoConnection : AVFoundation.AVCaptureSession -> unit
override this.SetSessionWithNoConnection : AVFoundation.AVCaptureSession -> unit
参数
- session
- AVCaptureSession
- 属性