/** * @throws OSStatusException * @since Available in iOS 5.0 and later. */ public SSLSessionState getSessionState() throws OSStatusException { IntPtr ptr = new IntPtr(); OSStatus status = getSessionState0(ptr); OSStatusException.throwIfNecessary(status); return SSLSessionState.valueOf(ptr.get()); } /**
public static /*<name>*/SSLSessionState/*</name>*/ valueOf(long n) { for (/*<name>*/SSLSessionState/*</name>*/ v : values()) { if (v.n == n) { return v; } } throw new IllegalArgumentException("No constant with value " + n + " found in " + /*<name>*/SSLSessionState/*</name>*/.class.getName()); } }
/** * @throws OSStatusException * @since Available in iOS 5.0 and later. */ public SSLSessionState getSessionState() throws OSStatusException { IntPtr ptr = new IntPtr(); OSStatus status = getSessionState0(ptr); OSStatusException.throwIfNecessary(status); return SSLSessionState.valueOf(ptr.get()); } /**
public static /*<name>*/SSLSessionState/*</name>*/ valueOf(long n) { for (/*<name>*/SSLSessionState/*</name>*/ v : values()) { if (v.n == n) { return v; } } throw new IllegalArgumentException("No constant with value " + n + " found in " + /*<name>*/SSLSessionState/*</name>*/.class.getName()); } }
/** * @throws OSStatusException * @since Available in iOS 5.0 and later. */ public SSLSessionState getSessionState() throws OSStatusException { IntPtr ptr = new IntPtr(); OSStatus status = getSessionState0(ptr); OSStatusException.throwIfNecessary(status); return SSLSessionState.valueOf(ptr.get()); } /**
public static /*<name>*/SSLSessionState/*</name>*/ valueOf(long n) { for (/*<name>*/SSLSessionState/*</name>*/ v : values()) { if (v.n == n) { return v; } } throw new IllegalArgumentException("No constant with value " + n + " found in " + /*<name>*/SSLSessionState/*</name>*/.class.getName()); } }