summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrettyWhite <geekman3454@protonmail.com>2017-07-28 14:27:28 -0400
committerBrettyWhite <geekman3454@protonmail.com>2017-07-28 14:27:28 -0400
commitfaea50489a248dc9573920ebceed585aad071421 (patch)
tree497df719489c7ca8eeadfeba0119d5203f9a6123
parent627f2f018056ecab42c71a5ab30aa04856694f92 (diff)
downloadsdl_ios-faea50489a248dc9573920ebceed585aad071421.tar.gz
add getVideoStreamingCapability to example app
-rw-r--r--SmartDeviceLink_Example/Classes/ProxyManager.m7
1 files changed, 7 insertions, 0 deletions
diff --git a/SmartDeviceLink_Example/Classes/ProxyManager.m b/SmartDeviceLink_Example/Classes/ProxyManager.m
index b4ddacea9..ada8d9e7b 100644
--- a/SmartDeviceLink_Example/Classes/ProxyManager.m
+++ b/SmartDeviceLink_Example/Classes/ProxyManager.m
@@ -143,6 +143,13 @@ NS_ASSUME_NONNULL_BEGIN
"Response: %@"
"Error: %@", request, response, error);
}];
+ SDLGetSystemCapability *getVideoStreamingCapability = [[SDLGetSystemCapability alloc] initWithType:[SDLSystemCapabilityType VIDEO_STREAMING]];
+ [self.sdlManager sendRequest:getVideoStreamingCapability withResponseHandler:^(__kindof SDLRPCRequest * _Nullable request, __kindof SDLRPCResponse * _Nullable response, NSError * _Nullable error) {
+ NSLog(@"Video Streaming Capability:\n"
+ "Request: %@"
+ "Response: %@"
+ "Error: %@", request, response, error);
+ }];
SDLSetDisplayLayout *displayLayout = [[SDLSetDisplayLayout alloc] initWithLayout:[[SDLPredefinedLayout NON_MEDIA] value]];
[self.sdlManager sendRequest:displayLayout];