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
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
Android Guides
Setting Security Level for Multiplexing

Setting Security Level for Multiplexing

When connecting to Core via Multiplex transport, your SDL app will use a Router Service housed within your app or another SDL enabled app.

To help ensure the validity of the Router Service, you can select the security level explicitly when you create your Multiplex transport in your app's SdlService:

int securityLevel = FLAG_MULTI_SECURITY_MED;

BaseTransportConfig transport = new MultiplexTransportConfig(context, appId, securityLevel);

If you create the transport without specifying the security level, it will be set to FLAG_MULTI_SECURITY_MED by default.

Security Levels

Security Flag Meaning
FLAG_MULTI_SECURITY_OFF Multiplexing security turned off. All router services are trusted.
FLAG_MULTI_SECURITY_LOW Multiplexing security will be minimal. Only trusted router services will be used. Trusted router list will be obtained from server. List will be refreshed every 20 days or during next connection session if an SDL enabled app has been installed or uninstalled.
FLAG_MULTI_SECURITY_MED Multiplexing security will be on at a normal level. Only trusted router services will be used. Trusted router list will be obtained from server. List will be refreshed every 7 days or during next connection session if an SDL enabled app has been installed or uninstalled.
FLAG_MULTI_SECURITY_HIGH Multiplexing security will be very strict. Only trusted router services installed from trusted app stores will be used. Trusted router list will be obtained from server. List will be refreshed every 7 days or during next connection session if an SDL enabled app has been installed or uninstalled.

Applying to the Trusted Router Service Database

For an Android application to be added to the Trusted Router Service database, the application will need to be registered on the SDL Developer Portal and certified by the SDLC. For more information on registration, please see this guide.

Any Android application that is certified by the SDLC will be added to the Trusted Router Service database; there are no additional steps required as it is part of the certification process.

Please consult the Trusted Router Service FAQs if you have any additional questions.

View on GitHub.com
Previous Section Next Section