summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLTransportDelegate.h
blob: f81e2c0438d539715a092958ade1f19a4e8cf432 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//  SDLTransportDelegate.h
//

NS_ASSUME_NONNULL_BEGIN

@protocol SDLTransportDelegate <NSObject>

/**
 *  The transport connected to Core
 */
- (void)onTransportConnected;

/**
 *  The transport disconnected from Core
 */
- (void)onTransportDisconnected;

/**
 *  Data received from Core
 *
 *  @param receivedData The data received from Core
 */
- (void)onDataReceived:(NSData *)receivedData;

@end

NS_ASSUME_NONNULL_END