Langue

ISCStreamDelegate Interface

Définition

Cette interface représente le protocole SCStreamDelegateObjective-C .

[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
Dérivé
Attributs
Implémente

Remarques

Une classe qui implémente cette interface (et les sous-classes NSObject) sera exportée vers Objective-C, car l’implémentation du protocole Objective-C cette interface représente.

Une classe peut également implémenter des membres de cette interface pour implémenter des membres à partir du protocole.

Propriétés

Nom Description
Handle

Handle (pointeur) vers la représentation d’objet non managée.

(Hérité de INativeObject)

Méthodes

Nom Description
DidStop(SCStream, NSError)

Cette interface représente le protocole SCStreamDelegateObjective-C .

OutputVideoEffectDidFail(SCStream, NSError)

Cette interface représente le protocole SCStreamDelegateObjective-C .

OutputVideoEffectDidStart(SCStream)

Cette interface représente le protocole SCStreamDelegateObjective-C .

OutputVideoEffectDidStop(SCStream)

Cette interface représente le protocole SCStreamDelegateObjective-C .

StreamDidBecomeActive(SCStream)

Cette interface représente le protocole SCStreamDelegateObjective-C .

StreamDidBecomeInactive(SCStream)

Cette interface représente le protocole SCStreamDelegateObjective-C .

UserDidStop(SCStream)
Obsolète.

Cette interface représente le protocole SCStreamDelegateObjective-C .

Méthodes d’extension

Nom Description
DidStop(ISCStreamDelegate, SCStream, NSError)

Cette interface représente le protocole SCStreamDelegateObjective-C .

GetHandle(INativeObject)

Cette interface représente le protocole SCStreamDelegateObjective-C .

GetNonNullHandle(INativeObject, String)

Cette interface représente le protocole SCStreamDelegateObjective-C .

OutputVideoEffectDidFail(ISCStreamDelegate, SCStream, NSError)

Cette interface représente le protocole SCStreamDelegateObjective-C .

OutputVideoEffectDidStart(ISCStreamDelegate, SCStream)

Cette interface représente le protocole SCStreamDelegateObjective-C .

OutputVideoEffectDidStop(ISCStreamDelegate, SCStream)

Cette interface représente le protocole SCStreamDelegateObjective-C .

StreamDidBecomeActive(ISCStreamDelegate, SCStream)

Cette interface représente le protocole SCStreamDelegateObjective-C .

StreamDidBecomeInactive(ISCStreamDelegate, SCStream)

Cette interface représente le protocole SCStreamDelegateObjective-C .

UserDidStop(ISCStreamDelegate, SCStream)
Obsolète.

Cette interface représente le protocole SCStreamDelegateObjective-C .

S’applique à