public NSObject get(NSString key) { if (has(key)) { return data.get(key); } return null; } public CBConnectPeripheralOptions set(NSString key, NSObject value) {
/** * @since Available in iOS 6.0 and later. */ public boolean notifiesOnConnection() { if (has(Keys.NotifyOnConnection())) { NSNumber val = (NSNumber) get(Keys.NotifyOnConnection()); return val.booleanValue(); } return false; } /**
public boolean notifiesOnDisconnection() { if (has(Keys.NotifyOnDisconnection())) { NSNumber val = (NSNumber) get(Keys.NotifyOnDisconnection()); return val.booleanValue(); } return false; } public CBConnectPeripheralOptions setNotifiesOnDisconnection(boolean notifiesOnDisconnection) {
/** * @since Available in iOS 6.0 and later. */ public boolean notifiesOnNotification() { if (has(Keys.NotifyOnNotification())) { NSNumber val = (NSNumber) get(Keys.NotifyOnNotification()); return val.booleanValue(); } return false; } /**
public NSObject get(NSString key) { if (has(key)) { return data.get(key); } return null; } public CBConnectPeripheralOptions set(NSString key, NSObject value) {
public NSObject get(NSString key) { if (has(key)) { return data.get(key); } return null; } public CBConnectPeripheralOptions set(NSString key, NSObject value) {
/** * @since Available in iOS 6.0 and later. */ public boolean notifiesOnConnection() { if (has(Keys.NotifyOnConnection())) { NSNumber val = (NSNumber) get(Keys.NotifyOnConnection()); return val.booleanValue(); } return false; } /**
public boolean notifiesOnDisconnection() { if (has(Keys.NotifyOnDisconnection())) { NSNumber val = (NSNumber) get(Keys.NotifyOnDisconnection()); return val.booleanValue(); } return false; } public CBConnectPeripheralOptions setNotifiesOnDisconnection(boolean notifiesOnDisconnection) {
/** * @since Available in iOS 6.0 and later. */ public boolean notifiesOnNotification() { if (has(Keys.NotifyOnNotification())) { NSNumber val = (NSNumber) get(Keys.NotifyOnNotification()); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 6.0 and later. */ public boolean notifiesOnConnection() { if (has(Keys.NotifyOnConnection())) { NSNumber val = (NSNumber) get(Keys.NotifyOnConnection()); return val.booleanValue(); } return false; } /**
public boolean notifiesOnDisconnection() { if (has(Keys.NotifyOnDisconnection())) { NSNumber val = (NSNumber) get(Keys.NotifyOnDisconnection()); return val.booleanValue(); } return false; } public CBConnectPeripheralOptions setNotifiesOnDisconnection(boolean notifiesOnDisconnection) {
/** * @since Available in iOS 6.0 and later. */ public boolean notifiesOnNotification() { if (has(Keys.NotifyOnNotification())) { NSNumber val = (NSNumber) get(Keys.NotifyOnNotification()); return val.booleanValue(); } return false; } /**