public static /*<name>*/SecAttrAuthenticationType/*</name>*/ valueOf(/*<type>*/CFType/*</type>*/ value) { for (/*<name>*/SecAttrAuthenticationType/*</name>*/ v : values) { if (v.value().equals(value)) { return v; } } throw new IllegalArgumentException("No constant with value " + value + " found in " + /*<name>*/SecAttrAuthenticationType/*</name>*/.class.getName()); }
/** * @since Available in iOS 2.0 and later. */ public SecAttributes setAuthenticationType(SecAttrAuthenticationType authenticationType) { set(Keys.AuthenticationType(), authenticationType.value()); return this; } /**
@MarshalsPointer public static long toNative(SecAttrAuthenticationType o, long flags) { if (o == null) { return 0L; } return CFType.Marshaler.toNative(o.value(), flags); } }
@MarshalsPointer public static long toNative(List<SecAttrAuthenticationType> l, long flags) { if (l == null) { return 0L; } CFArray array = CFMutableArray.create(); for (SecAttrAuthenticationType o : l) { array.add(o.value()); } return CFType.Marshaler.toNative(array, flags); } }
public static /*<name>*/SecAttrAuthenticationType/*</name>*/ valueOf(/*<type>*/CFType/*</type>*/ value) { for (/*<name>*/SecAttrAuthenticationType/*</name>*/ v : values) { if (v.value().equals(value)) { return v; } } throw new IllegalArgumentException("No constant with value " + value + " found in " + /*<name>*/SecAttrAuthenticationType/*</name>*/.class.getName()); }
public static /*<name>*/SecAttrAuthenticationType/*</name>*/ valueOf(/*<type>*/CFType/*</type>*/ value) { for (/*<name>*/SecAttrAuthenticationType/*</name>*/ v : values) { if (v.value().equals(value)) { return v; } } throw new IllegalArgumentException("No constant with value " + value + " found in " + /*<name>*/SecAttrAuthenticationType/*</name>*/.class.getName()); }
/** * @since Available in iOS 2.0 and later. */ public SecAttributes setAuthenticationType(SecAttrAuthenticationType authenticationType) { set(Keys.AuthenticationType(), authenticationType.value()); return this; } /**
@MarshalsPointer public static long toNative(SecAttrAuthenticationType o, long flags) { if (o == null) { return 0L; } return CFType.Marshaler.toNative(o.value(), flags); } }
/** * @since Available in iOS 2.0 and later. */ public SecAttributes setAuthenticationType(SecAttrAuthenticationType authenticationType) { set(Keys.AuthenticationType(), authenticationType.value()); return this; } /**
@MarshalsPointer public static long toNative(SecAttrAuthenticationType o, long flags) { if (o == null) { return 0L; } return CFType.Marshaler.toNative(o.value(), flags); } }
@MarshalsPointer public static long toNative(List<SecAttrAuthenticationType> l, long flags) { if (l == null) { return 0L; } CFArray array = CFMutableArray.create(); for (SecAttrAuthenticationType o : l) { array.add(o.value()); } return CFType.Marshaler.toNative(array, flags); } }
@MarshalsPointer public static long toNative(List<SecAttrAuthenticationType> l, long flags) { if (l == null) { return 0L; } CFArray array = CFMutableArray.create(); for (SecAttrAuthenticationType o : l) { array.add(o.value()); } return CFType.Marshaler.toNative(array, flags); } }