@MarshalsPointer public static SKCloudServiceSetupOptions toObject(Class<SKCloudServiceSetupOptions> cls, long handle, long flags) { NSDictionary o = (NSDictionary) NSObject.Marshaler.toObject(NSDictionary.class, handle, flags); if (o == null) { return null; } return new SKCloudServiceSetupOptions(o); } @MarshalsPointer
public NSObject get(NSString key) { if (has(key)) { return data.get(key); } return null; } public SKCloudServiceSetupOptions set(NSString key, NSObject value) {
@MarshalsPointer public static long toNative(List<SKCloudServiceSetupOptions> l, long flags) { if (l == null) { return 0L; } NSArray<NSDictionary> array = new NSMutableArray<>(); for (SKCloudServiceSetupOptions i : l) { array.add(i.getDictionary()); } return NSObject.Marshaler.toNative(array, flags); } }
@MarshalsPointer public static long toNative(List<SKCloudServiceSetupOptions> l, long flags) { if (l == null) { return 0L; } NSArray<NSDictionary> array = new NSMutableArray<>(); for (SKCloudServiceSetupOptions i : l) { array.add(i.getDictionary()); } return NSObject.Marshaler.toNative(array, flags); } }
@MarshalsPointer public static SKCloudServiceSetupOptions toObject(Class<SKCloudServiceSetupOptions> cls, long handle, long flags) { NSDictionary o = (NSDictionary) NSObject.Marshaler.toObject(NSDictionary.class, handle, flags); if (o == null) { return null; } return new SKCloudServiceSetupOptions(o); } @MarshalsPointer
public NSObject get(NSString key) { if (has(key)) { return data.get(key); } return null; } public SKCloudServiceSetupOptions set(NSString key, NSObject value) {
@MarshalsPointer public static List<SKCloudServiceSetupOptions> toObject(Class<? extends NSObject> cls, long handle, long flags) { NSArray<NSDictionary> o = (NSArray<NSDictionary>) NSObject.Marshaler.toObject(NSArray.class, handle, flags); if (o == null) { return null; } List<SKCloudServiceSetupOptions> list = new ArrayList<>(); for (int i = 0; i < o.size(); i++) { list.add(new SKCloudServiceSetupOptions(o.get(i))); } return list; } @MarshalsPointer
@MarshalsPointer public static List<SKCloudServiceSetupOptions> toObject(Class<? extends NSObject> cls, long handle, long flags) { NSArray<NSDictionary> o = (NSArray<NSDictionary>) NSObject.Marshaler.toObject(NSArray.class, handle, flags); if (o == null) { return null; } List<SKCloudServiceSetupOptions> list = new ArrayList<>(); for (int i = 0; i < o.size(); i++) { list.add(new SKCloudServiceSetupOptions(o.get(i))); } return list; } @MarshalsPointer