/** @since Available in iOS 2.0 and later. */ public NSStream setSocketSecurityLevel(NSStreamSocketSecurityLevel securityLevel) { setProperty(NSStreamProperty.SocketSecurityLevel, securityLevel.value()); return this; }
/** @since Available in iOS 2.0 and later. */ public NSStreamSocketSecurityLevel getSocketSecurityLevel() { NSString val = (NSString) getProperty(NSStreamProperty.SocketSecurityLevel); return NSStreamSocketSecurityLevel.valueOf(val); }