public CBCentralManagerScanOptions setAllowsDuplicates(boolean allowsDuplicates) { set(Keys.AllowDuplicates(), NSNumber.valueOf(allowsDuplicates)); return this; } /**
/** * @since Available in iOS 7.0 and later. */ public CBCentralManagerScanOptions setSolicitedServiceUUIDs(NSArray<CBUUID> solicitedServiceUUIDs) { set(Keys.SolicitedServiceUUIDs(), solicitedServiceUUIDs); return this; } /*</methods>*/
/** * @since Available in iOS 7.0 and later. */ public CBCentralManagerScanOptions setSolicitedServiceUUIDs(NSArray<CBUUID> solicitedServiceUUIDs) { set(Keys.SolicitedServiceUUIDs(), solicitedServiceUUIDs); return this; } /*</methods>*/
/** * @since Available in iOS 7.0 and later. */ public NSArray<CBUUID> getSolicitedServiceUUIDs() { if (has(Keys.SolicitedServiceUUIDs())) { NSArray<CBUUID> val = (NSArray<CBUUID>) get(Keys.SolicitedServiceUUIDs()); return val; } return null; } /**
/** * @since Available in iOS 7.0 and later. */ public NSArray<CBUUID> getSolicitedServiceUUIDs() { if (has(Keys.SolicitedServiceUUIDs())) { NSArray<CBUUID> val = (NSArray<CBUUID>) get(Keys.SolicitedServiceUUIDs()); return val; } return null; } /**
public CBCentralManagerScanOptions setAllowsDuplicates(boolean allowsDuplicates) { set(Keys.AllowDuplicates(), NSNumber.valueOf(allowsDuplicates)); return this; } /**
public boolean allowsDuplicates() { if (has(Keys.AllowDuplicates())) { NSNumber val = (NSNumber) get(Keys.AllowDuplicates()); return val.booleanValue(); } return false; } public CBCentralManagerScanOptions setAllowsDuplicates(boolean allowsDuplicates) {
public boolean allowsDuplicates() { if (has(Keys.AllowDuplicates())) { NSNumber val = (NSNumber) get(Keys.AllowDuplicates()); return val.booleanValue(); } return false; } public CBCentralManagerScanOptions setAllowsDuplicates(boolean allowsDuplicates) {
public CBCentralManagerScanOptions setAllowsDuplicates(boolean allowsDuplicates) { set(Keys.AllowDuplicates(), NSNumber.valueOf(allowsDuplicates)); return this; } /**
/** * @since Available in iOS 7.0 and later. */ public CBCentralManagerScanOptions setSolicitedServiceUUIDs(NSArray<CBUUID> solicitedServiceUUIDs) { set(Keys.SolicitedServiceUUIDs(), solicitedServiceUUIDs); return this; } /*</methods>*/
/** * @since Available in iOS 7.0 and later. */ public NSArray<CBUUID> getSolicitedServiceUUIDs() { if (has(Keys.SolicitedServiceUUIDs())) { NSArray<CBUUID> val = (NSArray<CBUUID>) get(Keys.SolicitedServiceUUIDs()); return val; } return null; } /**
public boolean allowsDuplicates() { if (has(Keys.AllowDuplicates())) { NSNumber val = (NSNumber) get(Keys.AllowDuplicates()); return val.booleanValue(); } return false; } public CBCentralManagerScanOptions setAllowsDuplicates(boolean allowsDuplicates) {