Tabnine Logo
NSNotification.getUserInfo
Code IndexAdd Tabnine to your IDE (free)

How to use
getUserInfo
method
in
org.robovm.apple.foundation.NSNotification

Best Java code snippets using org.robovm.apple.foundation.NSNotification.getUserInfo (Showing top 20 results out of 315)

origin: robovm/robovm

  @Override
  public void invoke(NSNotification a) {
    block.invoke(new UIKeyboardAnimation(a.getUserInfo()));
  }
});
origin: robovm/robovm

  @Override
  public void invoke(NSNotification a) {
    block.invoke(new UIKeyboardAnimation(a.getUserInfo()));
  }
});
origin: robovm/robovm

  @Override
  public void invoke(NSNotification a) {
    block.invoke(a.getObject().as(CMSampleBuffer.class), a.getUserInfo());
  }
});
origin: robovm/robovm

  @Override
  public void invoke(NSNotification a) {
    block.invoke((NSMetadataQuery)a.getObject(), new NSMetadataQueryUpdatedItems(a.getUserInfo()));
  }
});
origin: robovm/robovm

  @Override
  public void invoke(NSNotification a) {
    NSDictionary<?, ?> userInfo = a.getUserInfo();
    NSManagedObjectContextNotification data = null;
    if (userInfo != null) {
      data = new NSManagedObjectContextNotification(userInfo);
    }
    block.invoke((NSManagedObject)a.getObject(), data, a);
  }
});
origin: robovm/robovm

  @Override
  public void invoke(NSNotification a) {
    NSDictionary<?, ?> userInfo = a.getUserInfo();
    NSPersistentStoreCoordinatorChangeNotification data = null;
    if (userInfo != null) {
      data = new NSPersistentStoreCoordinatorChangeNotification(userInfo);
    }
    block.invoke((NSPersistentStoreCoordinator)a.getObject(), data);
  }
});
origin: robovm/robovm

  @Override
  public void invoke (NSNotification a) {
    block.invoke((MPMoviePlayerController) a.getObject(), new MPMoviePlayerThumbnailRequest(a.getUserInfo()));
  }
});
origin: robovm/robovm

  @Override
  public void invoke (NSNotification a) {
    block.invoke((MPMoviePlayerController) a.getObject(), new MPMoviePlayerFullscreenAnimation(a.getUserInfo()));
  }
});
origin: robovm/robovm

  @Override
  public void invoke(NSNotification a) {
    block.invoke((NSMetadataQuery)a.getObject(), new NSMetadataQueryUpdatedItems(a.getUserInfo()));
  }
});
origin: robovm/robovm

  @SuppressWarnings("unchecked")
  @Override
  public void invoke (NSNotification a) {
    NSDictionary<?, ?> userInfo = a.getUserInfo();
    NSArray<MPTimedMetadata> arr = (NSArray<MPTimedMetadata>) userInfo.get(TimedMetadataUserInfoKey());
    block.invoke((MPMoviePlayerController) a.getObject(), arr);
  }
});
origin: robovm/robovm

  @Override
  public void invoke(NSNotification a) {
    NSNumber val = (NSNumber)a.getUserInfo().get(StatusBarOrientationUserInfoKey());
    block.invoke(UIInterfaceOrientation.valueOf(val.intValue()));
  }
});
origin: robovm/robovm

  @Override
  public void invoke(NSNotification a) {
    NSDictionary<?, ?> data = a.getUserInfo();
    NSError error = null;
    if (data.containsKey(FailedToDecodeNotificationErrorKey())) {
      error = (NSError) data.get(FailedToDecodeNotificationErrorKey());
    }
    block.invoke((AVSampleBufferDisplayLayer)a.getObject(), error);
  }
});
origin: robovm/robovm

  @Override
  public void invoke(NSNotification notification) {
    NSDictionary<?, ?> data = notification.getUserInfo();
    NSError error = null;
    if (data.containsKey(FailedToPlayToEndTimeErrorKey())) {
      error = (NSError) data.get(FailedToPlayToEndTimeErrorKey());
    }
    block.invoke((AVPlayerItem)notification.getObject(), error);
  }
});
origin: robovm/robovm

  @Override
  public void invoke(NSNotification a) {
    NSData d = null;
    NSDictionary<?, ?> data = a.getUserInfo();
    if (data.containsKey(NotificationDataItem())) {
      d = (NSData)data.get(NotificationDataItem());
    }
    block.invoke((NSFileHandle)a.getObject(), d);
  }
});
origin: robovm/robovm

  @Override
  public void invoke(NSNotification a) {
    NSDictionary<?, ?> data = a.getUserInfo();
    NSError error = null;
    if (data.containsKey(NotificationErrorKey())) {
      error = (NSError) data.get(NotificationErrorKey());
    }
    block.invoke((AVCaptureSession)a.getObject(), error);
  }
});
origin: robovm/robovm

  @Override
  public void invoke(NSNotification a) {
    NSDictionary<?, ?> data = a.getUserInfo();
    EAAccessory accessory = null;
    if (data.containsKey(AccessoryKey())) {
      accessory = (EAAccessory) data.get(AccessoryKey());
    }
    block.invoke((EAAccessoryManager)a.getObject(), accessory);
  }
});
origin: robovm/robovm

  @Override
  public void invoke (NSNotification a) {
    NSDictionary<?, ?> data = a.getUserInfo();
    NSNumber val = (NSNumber) data.get(PlaybackDidFinishReasonUserInfoKey());
    NSError error = (NSError) data.get("error");
    block.invoke((MPMoviePlayerController) a.getObject(), MPMovieFinishReason.valueOf(val.intValue()), error);
  }
});
origin: robovm/robovm

  @Override
  public void invoke(NSNotification a) {
    NSDictionary<?, ?> data = a.getUserInfo();
    NSNumber val = (NSNumber) data.get(OSStatusNotificationParameter());
    OSStatus error = val != null ? OSStatus.valueOf((int)val.longValue()) : null;
    block.invoke(a.getObject().as(CMSampleBuffer.class), error);
  }
});
origin: robovm/robovm

  @Override
  public void invoke(NSNotification a) {
    CMTimebase object = a.getObject() != null ? a.getObject().as(CMTimebase.class) : null;
    CMTime time = null;
    
    NSDictionary<?, ?> data = a.getUserInfo();
    if (data.containsKey(EventTimeNotificationKey())) {
      time = data.get(EventTimeNotificationKey()).as(CMTime.class);
    }
    block.invoke(object, time);
  }
});
origin: robovm/robovm

  @Override
  public void invoke(NSNotification a) {
    NSDictionary<?, ?> data = a.getUserInfo();
    NSNumber val1 = (NSNumber) data.get(UpcomingOutputPTSRangeMayOverlapQueuedOutputPTSRangeConduitNotificationParameter());
    boolean mayOverlap = val1 != null ? val1.booleanValue() : false;
    NSDictionary<?, ?> val2 = (NSDictionary<?, ?>) data.get(MinUpcomingOutputPTSConduitNotificationParameter());
    CMTime min = val2 != null ? CMTime.create(val2) : null;
    NSDictionary<?, ?> val3 = (NSDictionary<?, ?>) data.get(MaxUpcomingOutputPTSConduitNotificationParameter());
    CMTime max = val3 != null ? CMTime.create(val3) : null;
    block.invoke(a.getObject().as(CMSampleBuffer.class), mayOverlap, min, max);
  }
});
org.robovm.apple.foundationNSNotificationgetUserInfo

Popular methods of NSNotification

  • getObject
  • init
  • initObject

Popular in Java

  • Making http post requests using okhttp
  • notifyDataSetChanged (ArrayAdapter)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • setRequestProperty (URLConnection)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • JButton (javax.swing)
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now