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
iOS Documentation
SDLServiceEncryptionDelegate

SDLServiceEncryptionDelegate Protocol Reference

Section Contents

Overview

Delegate for the encryption service.

-serviceEncryptionUpdatedOnService:encrypted:error:

Called when the encryption service has been.

Objective-C

- (void)serviceEncryptionUpdatedOnService:(SDLServiceType)type
                                encrypted:(BOOL)encrypted
                                    error:(NSError *_Nullable)error;

Swift

func serviceEncryptionUpdated(serviceType type: SDLServiceType, isEncrypted encrypted: Bool, error: Error?)

Parameters

type

will return whichever type had an encryption update (for now probably only SDLServiceTypeRPC), but it could also apply to video / audio in the future.

encrypted

return true if the encryption service was setup successfully, will return false if the service is presently not encrypted.

error

will return any error that happens or nil if there is no error.

View on GitHub.com
Previous Section Next Section