Språk

ISCStreamDelegate Gränssnitt

Definition

Det här gränssnittet representerar protokollet Objective-C SCStreamDelegate.

[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
Härledda
Attribut
Implementeringar

Kommentarer

En klass som implementerar det här gränssnittet (och underklasserna NSObject) exporteras till Objective-C som implementerar det Objective-C protokoll som det här gränssnittet representerar.

En klass kan också implementera medlemmar från det här gränssnittet för att implementera medlemmar från protokollet.

Egenskaper

Name Description
Handle

Hantera (pekaren) till den ohanterade objektrepresentationen.

(Ärvd från INativeObject)

Metoder

Name Description
DidStop(SCStream, NSError)

Det här gränssnittet representerar protokollet Objective-C SCStreamDelegate.

OutputVideoEffectDidFail(SCStream, NSError)

Det här gränssnittet representerar protokollet Objective-C SCStreamDelegate.

OutputVideoEffectDidStart(SCStream)

Det här gränssnittet representerar protokollet Objective-C SCStreamDelegate.

OutputVideoEffectDidStop(SCStream)

Det här gränssnittet representerar protokollet Objective-C SCStreamDelegate.

StreamDidBecomeActive(SCStream)

Det här gränssnittet representerar protokollet Objective-C SCStreamDelegate.

StreamDidBecomeInactive(SCStream)

Det här gränssnittet representerar protokollet Objective-C SCStreamDelegate.

UserDidStop(SCStream)
Föråldrad.

Det här gränssnittet representerar protokollet Objective-C SCStreamDelegate.

Tilläggsmetoder

Name Description
DidStop(ISCStreamDelegate, SCStream, NSError)

Det här gränssnittet representerar protokollet Objective-C SCStreamDelegate.

GetHandle(INativeObject)

Det här gränssnittet representerar protokollet Objective-C SCStreamDelegate.

GetNonNullHandle(INativeObject, String)

Det här gränssnittet representerar protokollet Objective-C SCStreamDelegate.

OutputVideoEffectDidFail(ISCStreamDelegate, SCStream, NSError)

Det här gränssnittet representerar protokollet Objective-C SCStreamDelegate.

OutputVideoEffectDidStart(ISCStreamDelegate, SCStream)

Det här gränssnittet representerar protokollet Objective-C SCStreamDelegate.

OutputVideoEffectDidStop(ISCStreamDelegate, SCStream)

Det här gränssnittet representerar protokollet Objective-C SCStreamDelegate.

StreamDidBecomeActive(ISCStreamDelegate, SCStream)

Det här gränssnittet representerar protokollet Objective-C SCStreamDelegate.

StreamDidBecomeInactive(ISCStreamDelegate, SCStream)

Det här gränssnittet representerar protokollet Objective-C SCStreamDelegate.

UserDidStop(ISCStreamDelegate, SCStream)
Föråldrad.

Det här gränssnittet representerar protokollet Objective-C SCStreamDelegate.

Gäller för