/** @since Available in iOS 4.0 and later. */
 public String getAirline() {
   if (data.containsKey(AirlineKey())) {
     NSString val = (NSString) data.get(AirlineKey());
     return val.toString();
   }
   return null;
 }
 /** @since Available in iOS 4.0 and later. */
 public String getFlight() {
   if (data.containsKey(FlightKey())) {
     NSString val = (NSString) data.get(FlightKey());
     return val.toString();
   }
   return null;
 }
Exemplo n.º 3
0
 /** @since Available in iOS 5.0 and later. */
 @WeaklyLinked
 public CTAttributedStringAttributes getTitleCoreTextAttributes(UIControlState state) {
   NSDictionary<NSString, ?> dict = getTitleTextAttributesDictionary(state);
   if (dict == null) return null;
   return new CTAttributedStringAttributes(dict.as(CFDictionary.class));
 }
 /*</methods>*/
 @Override
 public String toString() {
   if (data != null) return data.toString();
   return super.toString();
 }