Sprache

ISCStreamDelegate Schnittstelle

Definition

Diese Schnittstelle stellt das Objective-C-Protokoll SCStreamDelegatedar.

[Foundation.Protocol(Name="SCStreamDelegate", WrapperType=typeof(ScreenCaptureKit.SCStreamDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidStop", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream), typeof(Foundation.NSError) }, Selector="stream:didStopWithError:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="OutputVideoEffectDidStart", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream) }, Selector="outputVideoEffectDidStartForStream:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="OutputVideoEffectDidStop", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream) }, Selector="outputVideoEffectDidStopForStream:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="OutputVideoEffectDidFail", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream), typeof(Foundation.NSError) }, Selector="outputVideoEffectDidFailForStream:withError:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="StreamDidBecomeActive", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream) }, Selector="streamDidBecomeActive:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="StreamDidBecomeInactive", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream) }, Selector="streamDidBecomeInactive:")]
[ObjCRuntime.UnsupportedSimulator("ios")]
public interface ISCStreamDelegate : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="SCStreamDelegate", WrapperType=typeof(ScreenCaptureKit.SCStreamDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidStop", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream), typeof(Foundation.NSError) }, Selector="stream:didStopWithError:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="OutputVideoEffectDidStart", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream) }, Selector="outputVideoEffectDidStartForStream:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="OutputVideoEffectDidStop", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream) }, Selector="outputVideoEffectDidStopForStream:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="StreamDidBecomeActive", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream) }, Selector="streamDidBecomeActive:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="StreamDidBecomeInactive", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream) }, Selector="streamDidBecomeInactive:")]
public interface ISCStreamDelegate : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="SCStreamDelegate", WrapperType=typeof(ScreenCaptureKit.SCStreamDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidStop", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream), typeof(Foundation.NSError) }, Selector="stream:didStopWithError:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="OutputVideoEffectDidStart", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream) }, Selector="outputVideoEffectDidStartForStream:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="OutputVideoEffectDidStop", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream) }, Selector="outputVideoEffectDidStopForStream:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="StreamDidBecomeActive", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream) }, Selector="streamDidBecomeActive:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="StreamDidBecomeInactive", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream) }, Selector="streamDidBecomeInactive:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="UserDidStop", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream) }, Selector="userDidStopStream:")]
public interface ISCStreamDelegate : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="SCStreamDelegate", WrapperType=typeof(ScreenCaptureKit.SCStreamDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidStop", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream), typeof(Foundation.NSError) }, Selector="stream:didStopWithError:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="OutputVideoEffectDidStart", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream) }, Selector="outputVideoEffectDidStartForStream:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="OutputVideoEffectDidStop", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream) }, Selector="outputVideoEffectDidStopForStream:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="StreamDidBecomeActive", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream) }, Selector="streamDidBecomeActive:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="StreamDidBecomeInactive", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream) }, Selector="streamDidBecomeInactive:")]
[ObjCRuntime.UnsupportedSimulator("tvos")]
public interface ISCStreamDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="SCStreamDelegate", WrapperType=typeof(ScreenCaptureKit.SCStreamDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidStop", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream), typeof(Foundation.NSError) }, Selector="stream:didStopWithError:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="OutputVideoEffectDidStart", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream) }, Selector="outputVideoEffectDidStartForStream:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="OutputVideoEffectDidStop", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream) }, Selector="outputVideoEffectDidStopForStream:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="OutputVideoEffectDidFail", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream), typeof(Foundation.NSError) }, Selector="outputVideoEffectDidFailForStream:withError:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="StreamDidBecomeActive", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream) }, Selector="streamDidBecomeActive:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="StreamDidBecomeInactive", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream) }, Selector="streamDidBecomeInactive:")>]
[<ObjCRuntime.UnsupportedSimulator("ios")>]
type ISCStreamDelegate = interface
    interface INativeObject
    interface IDisposable
[<Foundation.Protocol(Name="SCStreamDelegate", WrapperType=typeof(ScreenCaptureKit.SCStreamDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidStop", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream), typeof(Foundation.NSError) }, Selector="stream:didStopWithError:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="OutputVideoEffectDidStart", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream) }, Selector="outputVideoEffectDidStartForStream:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="OutputVideoEffectDidStop", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream) }, Selector="outputVideoEffectDidStopForStream:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="StreamDidBecomeActive", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream) }, Selector="streamDidBecomeActive:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="StreamDidBecomeInactive", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream) }, Selector="streamDidBecomeInactive:")>]
type ISCStreamDelegate = interface
    interface INativeObject
    interface IDisposable
[<Foundation.Protocol(Name="SCStreamDelegate", WrapperType=typeof(ScreenCaptureKit.SCStreamDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidStop", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream), typeof(Foundation.NSError) }, Selector="stream:didStopWithError:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="OutputVideoEffectDidStart", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream) }, Selector="outputVideoEffectDidStartForStream:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="OutputVideoEffectDidStop", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream) }, Selector="outputVideoEffectDidStopForStream:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="StreamDidBecomeActive", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream) }, Selector="streamDidBecomeActive:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="StreamDidBecomeInactive", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream) }, Selector="streamDidBecomeInactive:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="UserDidStop", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream) }, Selector="userDidStopStream:")>]
type ISCStreamDelegate = interface
    interface INativeObject
    interface IDisposable
[<Foundation.Protocol(Name="SCStreamDelegate", WrapperType=typeof(ScreenCaptureKit.SCStreamDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidStop", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream), typeof(Foundation.NSError) }, Selector="stream:didStopWithError:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="OutputVideoEffectDidStart", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream) }, Selector="outputVideoEffectDidStartForStream:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="OutputVideoEffectDidStop", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream) }, Selector="outputVideoEffectDidStopForStream:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="StreamDidBecomeActive", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream) }, Selector="streamDidBecomeActive:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="StreamDidBecomeInactive", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(ScreenCaptureKit.SCStream) }, Selector="streamDidBecomeInactive:")>]
[<ObjCRuntime.UnsupportedSimulator("tvos")>]
type ISCStreamDelegate = interface
    interface INativeObject
    interface IDisposable
Abgeleitet
Attribute
Implementiert

Hinweise

Eine Klasse, die diese Schnittstelle (und Unterklassen NSObject) implementiert, wird in Objective-C exportiert, da das Objective-C Protokoll implementiert wird, das diese Schnittstelle darstellt.

Eine Klasse kann auch Member aus dieser Schnittstelle implementieren, um Member aus dem Protokoll zu implementieren.

Eigenschaften

Name Beschreibung
Handle

Handle (Zeiger) auf die nicht verwaltete Objektdarstellung.

(Geerbt von INativeObject)

Methoden

Name Beschreibung
DidStop(SCStream, NSError)

Diese Schnittstelle stellt das Objective-C-Protokoll SCStreamDelegatedar.

OutputVideoEffectDidFail(SCStream, NSError)

Diese Schnittstelle stellt das Objective-C-Protokoll SCStreamDelegatedar.

OutputVideoEffectDidStart(SCStream)

Diese Schnittstelle stellt das Objective-C-Protokoll SCStreamDelegatedar.

OutputVideoEffectDidStop(SCStream)

Diese Schnittstelle stellt das Objective-C-Protokoll SCStreamDelegatedar.

StreamDidBecomeActive(SCStream)

Diese Schnittstelle stellt das Objective-C-Protokoll SCStreamDelegatedar.

StreamDidBecomeInactive(SCStream)

Diese Schnittstelle stellt das Objective-C-Protokoll SCStreamDelegatedar.

UserDidStop(SCStream)
Veraltet.

Diese Schnittstelle stellt das Objective-C-Protokoll SCStreamDelegatedar.

Erweiterungsmethoden

Name Beschreibung
DidStop(ISCStreamDelegate, SCStream, NSError)

Diese Schnittstelle stellt das Objective-C-Protokoll SCStreamDelegatedar.

GetHandle(INativeObject)

Diese Schnittstelle stellt das Objective-C-Protokoll SCStreamDelegatedar.

GetNonNullHandle(INativeObject, String)

Diese Schnittstelle stellt das Objective-C-Protokoll SCStreamDelegatedar.

OutputVideoEffectDidFail(ISCStreamDelegate, SCStream, NSError)

Diese Schnittstelle stellt das Objective-C-Protokoll SCStreamDelegatedar.

OutputVideoEffectDidStart(ISCStreamDelegate, SCStream)

Diese Schnittstelle stellt das Objective-C-Protokoll SCStreamDelegatedar.

OutputVideoEffectDidStop(ISCStreamDelegate, SCStream)

Diese Schnittstelle stellt das Objective-C-Protokoll SCStreamDelegatedar.

StreamDidBecomeActive(ISCStreamDelegate, SCStream)

Diese Schnittstelle stellt das Objective-C-Protokoll SCStreamDelegatedar.

StreamDidBecomeInactive(ISCStreamDelegate, SCStream)

Diese Schnittstelle stellt das Objective-C-Protokoll SCStreamDelegatedar.

UserDidStop(ISCStreamDelegate, SCStream)
Veraltet.

Diese Schnittstelle stellt das Objective-C-Protokoll SCStreamDelegatedar.

Gilt für: