Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

SDLServiceEncryptionDelegate Protocol Reference

Section Contents

Overview

Undocumented

-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 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