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

SDLRPCStruct Class Reference

Section Contents

Overview

Undocumented

store

Undocumented

Objective-C

NSMutableDictionary<NSString *, id> *store

-initWithDictionary:

Convenience init

Objective-C

- (nonnull instancetype)initWithDictionary:
    (nonnull NSDictionary<NSString *, id> *)dict;

Swift

init(dictionary dict: [String : Any])

Parameters

dict

A dictionary

Return Value

A SDLRPCStruct object

-init

Init

Objective-C

- (nonnull instancetype)init;

Swift

init()

Return Value

A SDLRPCStruct object

-serializeAsDictionary:

Converts struct to JSON formatted data

Objective-C

- (nonnull NSDictionary<NSString *, id> *)serializeAsDictionary:(Byte)version;

Swift

func serialize(asDictionary version: UInt8) -> [String : Any]

Parameters

version

The protocol version

Return Value

JSON formatted data

View on GitHub.com
Previous Section Next Section