Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
Documentation
SDLImageResolution

SDLImageResolution Class Reference

Section Contents

Overview

The resolution of an image

resolutionWidth

Resolution width

Required

Objective-C

@property (nonatomic, strong) NSNumber<SDLInt> *_Nonnull resolutionWidth;

Swift

var resolutionWidth: NSNumber & SDLInt { get set }

resolutionHeight

Resolution height

Required

Objective-C

@property (nonatomic, strong) NSNumber<SDLInt> *_Nonnull resolutionHeight;

Swift

var resolutionHeight: NSNumber & SDLInt { get set }

-initWithWidth:height:

Convenience init with all parameters

Objective-C

- (nonnull instancetype)initWithWidth:(uint16_t)width height:(uint16_t)height;

Swift

init(width: UInt16, height: UInt16)

Parameters

width

Resolution width

height

Resolution height

Return Value

An SDLImageResolution object

View on GitHub.com
Previous Section Next Section