HandshakeInfo
@CarProtocol
class HandshakeInfo
A container for the information conveyed by the host after the handshake with the app is completed.
Summary
Public constructors |
|---|
HandshakeInfo(hostPackageName: String, hostCarAppApiLevel: Int)Creates an instance of |
Public functions |
|
|---|---|
Int |
Returns the negotiated API level that should be used to communicate with the host. |
String |
Returns the host package name. |
Public constructors
HandshakeInfo
Added in 1.0.0
HandshakeInfo(hostPackageName: String, hostCarAppApiLevel: Int)
Creates an instance of HandshakeInfo.
Public functions
getHostCarAppApiLevel
Added in 1.0.0
fun getHostCarAppApiLevel(): Int
Returns the negotiated API level that should be used to communicate with the host.