@Override public void invoke(NSNotification a) { if (a.getObject() == KEY_WINDOW) KEY_WINDOW = null; } });
@Override public void invoke(NSNotification a) { block.invoke((NSUserDefaults)a.getObject()); } });
@Override public void invoke(NSNotification notification) { block.invoke((AVAssetTrack) notification.getObject()); } });
@Override public void invoke(NSNotification a) { block.invoke((AVCaptureDevice) a.getObject()); } });
@Override public void invoke (NSNotification a) { block.invoke((MPMoviePlayerController) a.getObject()); } });
@Override public void invoke (NSNotification a) { block.invoke((MPMoviePlayerController) a.getObject()); } });
@Override public void invoke (NSNotification a) { block.invoke((MPMoviePlayerController) a.getObject()); } });
@Override public void invoke(NSNotification a) { block.invoke((NSExtensionContext) a.getObject()); } });
@Override public void invoke(NSNotification a) { block.invoke((UIScreen) a.getObject()); } });
@Override public void invoke(NSNotification notification) { block.invoke((AVPlayerItem)notification.getObject()); } });
@Override public void invoke(NSNotification notification) { block.invoke((AVPlayerItem)notification.getObject()); } });
@Override public void invoke(NSNotification a) { block.invoke((AVCaptureSession)a.getObject()); } });
@Override public void invoke(NSNotification a) { block.invoke((NSMetadataQuery)a.getObject(), new NSMetadataQueryUpdatedItems(a.getUserInfo())); } });
@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); } });
@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); } });
@Override public void invoke (NSNotification a) { block.invoke((MPMoviePlayerController) a.getObject(), new MPMoviePlayerThumbnailRequest(a.getUserInfo())); } });
@Override public void invoke (NSNotification a) { block.invoke((MPMoviePlayerController) a.getObject(), new MPMoviePlayerFullscreenAnimation(a.getUserInfo())); } });
@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); } });
@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); } });
@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); } });