/** @since Available in iOS 4.0 and later. */ public NSStreamNetworkServiceType getNetworkServiceType() { NSString val = (NSString) getProperty(NSStreamProperty.NetworkServiceType); return NSStreamNetworkServiceType.valueOf(val); }