com.bugvm.apple.cloudkit.CKSubscription Maven / Gradle / Ivy
The newest version!
/*
* Copyright (C) 2013-2015 RoboVM AB
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.bugvm.apple.cloudkit;
/**/
import java.io.*;
import java.nio.*;
import java.util.*;
import com.bugvm.objc.*;
import com.bugvm.objc.annotation.*;
import com.bugvm.objc.block.*;
import com.bugvm.rt.*;
import com.bugvm.rt.annotation.*;
import com.bugvm.rt.bro.*;
import com.bugvm.rt.bro.annotation.*;
import com.bugvm.rt.bro.ptr.*;
import com.bugvm.apple.foundation.*;
import com.bugvm.apple.corelocation.*;
import com.bugvm.apple.contacts.*;
/* */
/**/
/**
* @since Available in iOS 8.0 and later.
*/
/* */
/**/@Library("CloudKit") @NativeClass/* */
/**/public/* */ class /**/CKSubscription/* */
extends /**/NSObject/* */
/**//* */ {
/**/public static class CKSubscriptionPtr extends Ptr {}/* */
/**/static { ObjCRuntime.bind(CKSubscription.class); }/* */
/**//* */
/**/
public CKSubscription() {}
protected CKSubscription(SkipInit skipInit) { super(skipInit); }
public CKSubscription(NSCoder aDecoder) { super((SkipInit) null); initObject(init(aDecoder)); }
public CKSubscription(String recordType, NSPredicate predicate, CKSubscriptionOptions subscriptionOptions) { super((SkipInit) null); initObject(init(recordType, predicate, subscriptionOptions)); }
public CKSubscription(String recordType, NSPredicate predicate, String subscriptionID, CKSubscriptionOptions subscriptionOptions) { super((SkipInit) null); initObject(init(recordType, predicate, subscriptionID, subscriptionOptions)); }
public CKSubscription(CKRecordZoneID zoneID, CKSubscriptionOptions subscriptionOptions) { super((SkipInit) null); initObject(init(zoneID, subscriptionOptions)); }
public CKSubscription(CKRecordZoneID zoneID, String subscriptionID, CKSubscriptionOptions subscriptionOptions) { super((SkipInit) null); initObject(init(zoneID, subscriptionID, subscriptionOptions)); }
/* */
/**/
@Property(selector = "subscriptionID")
public native String getSubscriptionID();
@Property(selector = "subscriptionType")
public native CKSubscriptionType getSubscriptionType();
@Property(selector = "recordType")
public native String getRecordType();
@Property(selector = "predicate")
public native NSPredicate getPredicate();
@Property(selector = "subscriptionOptions")
public native CKSubscriptionOptions getSubscriptionOptions();
@Property(selector = "notificationInfo")
public native CKNotificationInfo getNotificationInfo();
@Property(selector = "setNotificationInfo:")
public native void setNotificationInfo(CKNotificationInfo v);
@Property(selector = "zoneID")
public native CKRecordZoneID getZoneID();
@Property(selector = "setZoneID:")
public native void setZoneID(CKRecordZoneID v);
/* */
/**//* */
/**/
@Method(selector = "initWithCoder:")
protected native @Pointer long init(NSCoder aDecoder);
@Method(selector = "initWithRecordType:predicate:options:")
protected native @Pointer long init(String recordType, NSPredicate predicate, CKSubscriptionOptions subscriptionOptions);
@Method(selector = "initWithRecordType:predicate:subscriptionID:options:")
protected native @Pointer long init(String recordType, NSPredicate predicate, String subscriptionID, CKSubscriptionOptions subscriptionOptions);
@Method(selector = "initWithZoneID:options:")
protected native @Pointer long init(CKRecordZoneID zoneID, CKSubscriptionOptions subscriptionOptions);
@Method(selector = "initWithZoneID:subscriptionID:options:")
protected native @Pointer long init(CKRecordZoneID zoneID, String subscriptionID, CKSubscriptionOptions subscriptionOptions);
/* */
}