Delegate for the encryption service.
Called when the encryption service has been.
- (void)serviceEncryptionUpdatedOnService:(SDLServiceType)type
encrypted:(BOOL)encrypted
error:(NSError *_Nullable)error;
func serviceEncryptionUpdated(serviceType type: SDLServiceType, isEncrypted encrypted: Bool, error: Error?)
will return whichever type had an encryption update (for now probably only SDLServiceTypeRPC), but it could also apply to video / audio in the future.
return true if the encryption service was setup successfully, will return false if the service is presently not encrypted.
will return any error that happens or nil if there is no error.