ISCStreamDelegate Interface
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Esta interface representa o protocolo 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
- Derivado
- Atributos
- Implementações
Observações
Uma classe que implementa esta interface (e subclasses NSObject) será exportada para Objective-C como implementando o protocolo Objective-C que esta interface representa.
Uma classe pode também implementar membros desta interface para implementar membros do protocolo.
Propriedades
| Nome | Descrição |
|---|---|
| Handle |
Handle (apontador) para a representação do objeto não gerido. (Herdado de INativeObject) |
Métodos
| Nome | Descrição |
|---|---|
| DidStop(SCStream, NSError) |
Esta interface representa o protocolo |
| OutputVideoEffectDidFail(SCStream, NSError) |
Esta interface representa o protocolo |
| OutputVideoEffectDidStart(SCStream) |
Esta interface representa o protocolo |
| OutputVideoEffectDidStop(SCStream) |
Esta interface representa o protocolo |
| StreamDidBecomeActive(SCStream) |
Esta interface representa o protocolo |
| StreamDidBecomeInactive(SCStream) |
Esta interface representa o protocolo |
| UserDidStop(SCStream) |
Obsoleto.
Esta interface representa o protocolo |
Métodos da Extensão
| Nome | Descrição |
|---|---|
| DidStop(ISCStreamDelegate, SCStream, NSError) |
Esta interface representa o protocolo |
| GetHandle(INativeObject) |
Esta interface representa o protocolo |
| GetNonNullHandle(INativeObject, String) |
Esta interface representa o protocolo |
| OutputVideoEffectDidFail(ISCStreamDelegate, SCStream, NSError) |
Esta interface representa o protocolo |
| OutputVideoEffectDidStart(ISCStreamDelegate, SCStream) |
Esta interface representa o protocolo |
| OutputVideoEffectDidStop(ISCStreamDelegate, SCStream) |
Esta interface representa o protocolo |
| StreamDidBecomeActive(ISCStreamDelegate, SCStream) |
Esta interface representa o protocolo |
| StreamDidBecomeInactive(ISCStreamDelegate, SCStream) |
Esta interface representa o protocolo |
| UserDidStop(ISCStreamDelegate, SCStream) |
Obsoleto.
Esta interface representa o protocolo |