Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

SDLVRHelpItem Class Reference

Section Contents

Overview

A help item for voice commands, used locally in interaction lists and globally

-initWithText:image:

Undocumented

Objective-C

- (instancetype)initWithText:(NSString *)text image:(nullable SDLImage *)image;

Swift

init(text: String, image: SDLImage?)

-initWithText:image:position:

Undocumented

Objective-C

- (instancetype)initWithText:(NSString *)text image:(nullable SDLImage *)image position:(UInt8)position;

Swift

init(text: String, image: SDLImage?, position: UInt8)

text

Text to display for VR Help item

Required

Objective-C

@property (readwrite, strong, nonatomic) NSString *_Nonnull text;

Swift

var text: String { get set }

image

Image for VR Help item

Optional

Objective-C

@property (readwrite, strong, nonatomic, nullable) SDLImage *image;

Swift

var image: SDLImage? { get set }

position

Position to display item in VR Help list

Required

Objective-C

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

Swift

var position: NSNumber & SDLInt { get set }
View on GitHub.com
Previous Section Next Section