/** * @since Available in iOS 7.0 and later. */ public CBCentralManagerOptions setRestoreIdentifier(String restoreIdentifier) { set(Keys.RestoreIdentifier(), new NSString(restoreIdentifier)); return this; } /*</methods>*/
/** * @since Available in iOS 7.0 and later. */ public boolean showsPowerAlert() { if (has(Keys.ShowPowerAlert())) { NSNumber val = (NSNumber) get(Keys.ShowPowerAlert()); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 7.0 and later. */ public CBCentralManagerOptions setShowsPowerAlert(boolean showsPowerAlert) { set(Keys.ShowPowerAlert(), NSNumber.valueOf(showsPowerAlert)); return this; } /**
/** * @since Available in iOS 7.0 and later. */ public String getRestoreIdentifier() { if (has(Keys.RestoreIdentifier())) { NSString val = (NSString) get(Keys.RestoreIdentifier()); return val.toString(); } return null; } /**
/** * @since Available in iOS 7.0 and later. */ public CBCentralManagerOptions setShowsPowerAlert(boolean showsPowerAlert) { set(Keys.ShowPowerAlert(), NSNumber.valueOf(showsPowerAlert)); return this; } /**
/** * @since Available in iOS 7.0 and later. */ public CBCentralManagerOptions setRestoreIdentifier(String restoreIdentifier) { set(Keys.RestoreIdentifier(), new NSString(restoreIdentifier)); return this; } /*</methods>*/
/** * @since Available in iOS 7.0 and later. */ public String getRestoreIdentifier() { if (has(Keys.RestoreIdentifier())) { NSString val = (NSString) get(Keys.RestoreIdentifier()); return val.toString(); } return null; } /**
/** * @since Available in iOS 7.0 and later. */ public boolean showsPowerAlert() { if (has(Keys.ShowPowerAlert())) { NSNumber val = (NSNumber) get(Keys.ShowPowerAlert()); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 7.0 and later. */ public CBCentralManagerOptions setRestoreIdentifier(String restoreIdentifier) { set(Keys.RestoreIdentifier(), new NSString(restoreIdentifier)); return this; } /*</methods>*/
/** * @since Available in iOS 7.0 and later. */ public String getRestoreIdentifier() { if (has(Keys.RestoreIdentifier())) { NSString val = (NSString) get(Keys.RestoreIdentifier()); return val.toString(); } return null; } /**
/** * @since Available in iOS 7.0 and later. */ public CBCentralManagerOptions setShowsPowerAlert(boolean showsPowerAlert) { set(Keys.ShowPowerAlert(), NSNumber.valueOf(showsPowerAlert)); return this; } /**
/** * @since Available in iOS 7.0 and later. */ public boolean showsPowerAlert() { if (has(Keys.ShowPowerAlert())) { NSNumber val = (NSNumber) get(Keys.ShowPowerAlert()); return val.booleanValue(); } return false; } /**