diff options
Diffstat (limited to 'SmartDeviceLink/SDLVideoStreamingCapability.m')
-rw-r--r-- | SmartDeviceLink/SDLVideoStreamingCapability.m | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/SmartDeviceLink/SDLVideoStreamingCapability.m b/SmartDeviceLink/SDLVideoStreamingCapability.m index b38ac9b25..f9cee09c5 100644 --- a/SmartDeviceLink/SDLVideoStreamingCapability.m +++ b/SmartDeviceLink/SDLVideoStreamingCapability.m @@ -36,7 +36,7 @@ NS_ASSUME_NONNULL_BEGIN } - (nullable SDLImageResolution *)preferredResolution { - return [store sdl_objectForName:SDLRPCParameterNamePreferredResolution ofClass:SDLImageResolution.class]; + return [store sdl_objectForName:SDLRPCParameterNamePreferredResolution ofClass:SDLImageResolution.class error:nil]; } - (void)setMaxBitrate:(nullable NSNumber<SDLInt> *)maxBitrate { @@ -44,7 +44,7 @@ NS_ASSUME_NONNULL_BEGIN } - (nullable NSNumber<SDLInt> *)maxBitrate { - return [store sdl_objectForName:SDLRPCParameterNameMaxBitrate ofClass:NSNumber.class]; + return [store sdl_objectForName:SDLRPCParameterNameMaxBitrate ofClass:NSNumber.class error:nil]; } - (void)setSupportedFormats:(nullable NSArray<SDLVideoStreamingFormat *> *)supportedFormats { @@ -52,7 +52,7 @@ NS_ASSUME_NONNULL_BEGIN } - (nullable NSArray<SDLVideoStreamingFormat *> *)supportedFormats { - return [store sdl_objectsForName:SDLRPCParameterNameSupportedFormats ofClass:SDLVideoStreamingFormat.class]; + return [store sdl_objectsForName:SDLRPCParameterNameSupportedFormats ofClass:SDLVideoStreamingFormat.class error:nil]; } - (void)setHapticSpatialDataSupported:(nullable NSNumber<SDLBool> *)hapticSpatialDataSupported { @@ -60,7 +60,7 @@ NS_ASSUME_NONNULL_BEGIN } - (nullable NSNumber<SDLBool> *)hapticSpatialDataSupported { - return [store sdl_objectForName:SDLRPCParameterNameHapticSpatialDataSupported ofClass:NSNumber.class]; + return [store sdl_objectForName:SDLRPCParameterNameHapticSpatialDataSupported ofClass:NSNumber.class error:nil]; } @end |