TMCServiceInterface
public protocol TMCServiceInterface : AnyObject
Contains all outgoing dependencies to the client side.
-
Called whenever the traffic broadcast needs to be activated.
Declaration
Swift
func requestTMCService(tmcServiceRequest: TMCServiceRequest)Parameters
tmcServiceRequestParameters used to request the traffic broadcast.
-
Called whenever there is a need to get a list of preferred SIDs for a specific area.
Declaration
Swift
func getTMCPreferredSids(tmcPreferredSidsRequest: TMCPreferredSidsRequest) -> [UInt8]Parameters
tmcPreferredSidsRequestSpecifies the area to request the preferred SIDs.
Return Value
List of preferred SIDs.
-
Called whenever there is a need to get RDS encryption keys.
Declaration
Swift
func getRDSEncryptionKeys(rdsEncryptionKeysRequest: RDSEncryptionKeysRequest) -> [RDSEncryptionKey]Parameters
rdsEncryptionKeysRequestInput data to search for keys.
Return Value
RDS encryption keys.