| Streamaxia Open SDK 3.2

AXStreamSource.h
1 //
2 // AXStreamSource.h
3 // StreamaxiaSDK
4 //
5 // Created by Razvan Chelemen on 15/02/2017.
6 // Copyright © 2017 Agilio. All rights reserved.
7 //
8
9 #import <Foundation/Foundation.h>
10
11 @class AXStreamSource;
12
16 @protocol AXStreamSourceDelegate <NSObject>
17
18 @optional
24 - (void)streamSourceDidConnect:(AXStreamSource *)streamSource;
25
31 - (void)streamSourceDidDisconnect:(AXStreamSource *)streamSource;
32
38 - (void)streamSourceDidCloseConnection:(AXStreamSource *)streamSource;
39
45 - (void)streamSource:(AXStreamSource *)streamSource didFailConnectingWithError:(AXError *)error;
46
47 @end
48
52 @interface AXStreamSource : NSObject <NSCopying>
53
57 @property (nonatomic, weak) id<AXStreamSourceDelegate> delegate;
58
62 @property (nonatomic, strong) AXStreamInfo *streamInfo;
63
67 @property (nonatomic, assign) BOOL on;
68
69 @end
AXStreamSource::delegate
id< AXStreamSourceDelegate > delegate
Definition: AXStreamSource.h:57
AXStreamSource::streamInfo
AXStreamInfo * streamInfo
Definition: AXStreamSource.h:62
AXStreamSource::on
BOOL on
Definition: AXStreamSource.h:67
AXError
Definition: AXError.h:16
AXStreamSource
Definition: AXStreamSource.h:52
AXStreamInfo
Definition: AXStreamInfo.h:15