ISCStreamDelegate Interfejs
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Ten interfejs reprezentuje protokół 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
- Pochodne
- Atrybuty
- Implementuje
Uwagi
Klasa, która implementuje ten interfejs (i podklasy NSObject) zostanie wyeksportowana do Objective-C jako implementacja protokołu Objective-C reprezentowanego przez ten interfejs.
Klasa może również implementować składowe z tego interfejsu w celu zaimplementowania składowych z protokołu.
Właściwości
| Nazwisko | Opis |
|---|---|
| Handle |
Dojdź (wskaźnik) do niezarządzanej reprezentacji obiektu. (Odziedziczone po INativeObject) |
Metody
| Nazwisko | Opis |
|---|---|
| DidStop(SCStream, NSError) |
Ten interfejs reprezentuje protokół |
| OutputVideoEffectDidFail(SCStream, NSError) |
Ten interfejs reprezentuje protokół |
| OutputVideoEffectDidStart(SCStream) |
Ten interfejs reprezentuje protokół |
| OutputVideoEffectDidStop(SCStream) |
Ten interfejs reprezentuje protokół |
| StreamDidBecomeActive(SCStream) |
Ten interfejs reprezentuje protokół |
| StreamDidBecomeInactive(SCStream) |
Ten interfejs reprezentuje protokół |
| UserDidStop(SCStream) |
Przestarzałe.
Ten interfejs reprezentuje protokół |
Metody rozszerzania
| Nazwisko | Opis |
|---|---|
| DidStop(ISCStreamDelegate, SCStream, NSError) |
Ten interfejs reprezentuje protokół |
| GetHandle(INativeObject) |
Ten interfejs reprezentuje protokół |
| GetNonNullHandle(INativeObject, String) |
Ten interfejs reprezentuje protokół |
| OutputVideoEffectDidFail(ISCStreamDelegate, SCStream, NSError) |
Ten interfejs reprezentuje protokół |
| OutputVideoEffectDidStart(ISCStreamDelegate, SCStream) |
Ten interfejs reprezentuje protokół |
| OutputVideoEffectDidStop(ISCStreamDelegate, SCStream) |
Ten interfejs reprezentuje protokół |
| StreamDidBecomeActive(ISCStreamDelegate, SCStream) |
Ten interfejs reprezentuje protokół |
| StreamDidBecomeInactive(ISCStreamDelegate, SCStream) |
Ten interfejs reprezentuje protokół |
| UserDidStop(ISCStreamDelegate, SCStream) |
Przestarzałe.
Ten interfejs reprezentuje protokół |