Ejemplo n.º 1
0
 public NSNetServiceErrorCode getErrorCode() {
   if (has(Keys.ErrorCode())) {
     NSNumber val = (NSNumber) get(Keys.ErrorCode());
     return NSNetServiceErrorCode.valueOf(val.longValue());
   }
   return null;
 }
Ejemplo n.º 2
0
 public String getErrorDomain() {
   if (has(Keys.ErrorDomain())) {
     NSString val = (NSString) get(Keys.ErrorDomain());
     return val.toString();
   }
   return null;
 }
Ejemplo n.º 3
0
 /**
  * @since Available in iOS 3.2 and later.
  * @deprecated Deprecated in iOS 8.0.
  */
 @Deprecated
 public UIFont getFont() {
   if (has(Keys.Font())) {
     UIFont val = (UIFont) get(Keys.Font());
     return val;
   }
   return null;
 }
Ejemplo n.º 4
0
 /**
  * @since Available in iOS 3.2 and later.
  * @deprecated Deprecated in iOS 8.0.
  */
 @Deprecated
 public UIColor getTextColor() {
   if (has(Keys.Color())) {
     UIColor val = (UIColor) get(Keys.Color());
     return val;
   }
   return null;
 }
Ejemplo n.º 5
0
 /**
  * @since Available in iOS 3.2 and later.
  * @deprecated Deprecated in iOS 8.0.
  */
 @Deprecated
 public UIColor getBackgroundColor() {
   if (has(Keys.BackgroundColor())) {
     UIColor val = (UIColor) get(Keys.BackgroundColor());
     return val;
   }
   return null;
 }
Ejemplo n.º 6
0
 public NSNetServiceErrorUserInfo setErrorDomain(String errorDomain) {
   set(Keys.ErrorDomain(), new NSString(errorDomain));
   return this;
 }
Ejemplo n.º 7
0
 public NSNetServiceErrorUserInfo setErrorCode(NSNetServiceErrorCode errorCode) {
   set(Keys.ErrorCode(), NSNumber.valueOf(errorCode.value()));
   return this;
 }
Ejemplo n.º 8
0
 /**
  * @since Available in iOS 3.2 and later.
  * @deprecated Deprecated in iOS 8.0.
  */
 @Deprecated
 public UITextInputTextStyle setFont(UIFont font) {
   set(Keys.Font(), font);
   return this;
 }
Ejemplo n.º 9
0
 /**
  * @since Available in iOS 3.2 and later.
  * @deprecated Deprecated in iOS 8.0.
  */
 @Deprecated
 public UITextInputTextStyle setTextColor(UIColor textColor) {
   set(Keys.Color(), textColor);
   return this;
 }
Ejemplo n.º 10
0
 /**
  * @since Available in iOS 3.2 and later.
  * @deprecated Deprecated in iOS 8.0.
  */
 @Deprecated
 public UITextInputTextStyle setBackgroundColor(UIColor backgroundColor) {
   set(Keys.BackgroundColor(), backgroundColor);
   return this;
 }