summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLHybridAppPreference.h
blob: e07987e787d054402def091db4e6200911259c6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
//
//  SDLHybridAppPreference.h
//  SmartDeviceLink
//
//  Created by Nicole on 2/26/19.
//  Copyright © 2019 smartdevicelink. All rights reserved.
//

#import "SDLEnum.h"

/**
 *  Enumeration for the user's preference of which app type to use when both are available.
 */
typedef SDLEnum SDLHybridAppPreference SDL_SWIFT_ENUM;

/*
 *  App preference of mobile.
 */
extern SDLHybridAppPreference const SDLHybridAppPreferenceMobile;

/*
 *  App preference of cloud.
 */
extern SDLHybridAppPreference const SDLHybridAppPreferenceCloud;

/*
 *  App preference of both. Allows both the mobile and the cloud versions of the app to attempt to connect at the same time, however the first app that is registered is the one that is allowed to stay registered.
 */
extern SDLHybridAppPreference const SDLHybridAppPreferenceBoth;