diff options
author | BrettyWhite <geekman3454@protonmail.com> | 2017-07-28 14:27:28 -0400 |
---|---|---|
committer | BrettyWhite <geekman3454@protonmail.com> | 2017-07-28 14:27:28 -0400 |
commit | faea50489a248dc9573920ebceed585aad071421 (patch) | |
tree | 497df719489c7ca8eeadfeba0119d5203f9a6123 | |
parent | 627f2f018056ecab42c71a5ab30aa04856694f92 (diff) | |
download | sdl_ios-faea50489a248dc9573920ebceed585aad071421.tar.gz |
add getVideoStreamingCapability to example app
-rw-r--r-- | SmartDeviceLink_Example/Classes/ProxyManager.m | 7 |
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]; |