コード例 #1
0
 public boolean performFetch() throws NSErrorException {
   NSError.NSErrorPtr ptr = new NSError.NSErrorPtr();
   boolean result = performFetch(ptr);
   if (ptr.get() != null) {
     throw new NSErrorException(ptr.get());
   }
   return result;
 }
コード例 #2
0
ファイル: LAContext.java プロジェクト: kxlcn/robovm
 /*<methods>*/
 public boolean canEvaluatePolicy(LAPolicy policy) throws NSErrorException {
   NSError.NSErrorPtr ptr = new NSError.NSErrorPtr();
   boolean result = canEvaluatePolicy(policy, ptr);
   if (ptr.get() != null) {
     throw new NSErrorException(ptr.get());
   }
   return result;
 }
コード例 #3
0
 public boolean validate() throws NSErrorException {
   NSError.NSErrorPtr ptr = new NSError.NSErrorPtr();
   boolean result = validate(ptr);
   if (ptr.get() != null) {
     throw new NSErrorException(ptr.get());
   }
   return result;
 }
コード例 #4
0
 public boolean validateTrackSegments(NSArray<AVCompositionTrackSegment> trackSegments)
     throws NSErrorException {
   NSError.NSErrorPtr ptr = new NSError.NSErrorPtr();
   boolean result = validateTrackSegments(trackSegments, ptr);
   if (ptr.get() != null) {
     throw new NSErrorException(ptr.get());
   }
   return result;
 }
コード例 #5
0
 /*<methods>*/
 public boolean insertTimeRange(
     @ByVal CMTimeRange timeRange, AVAssetTrack track, @ByVal CMTime startTime)
     throws NSErrorException {
   NSError.NSErrorPtr ptr = new NSError.NSErrorPtr();
   boolean result = insertTimeRange(timeRange, track, startTime, ptr);
   if (ptr.get() != null) {
     throw new NSErrorException(ptr.get());
   }
   return result;
 }
コード例 #6
0
 /** @since Available in iOS 5.0 and later. */
 public boolean insertTimeRanges(
     @org.robovm.rt.bro.annotation.Marshaler(CMTimeRange.AsValuedListMarshaler.class)
         List<CMTimeRange> timeRanges,
     NSArray<AVAssetTrack> tracks,
     @ByVal CMTime startTime)
     throws NSErrorException {
   NSError.NSErrorPtr ptr = new NSError.NSErrorPtr();
   boolean result = insertTimeRanges(timeRanges, tracks, startTime, ptr);
   if (ptr.get() != null) {
     throw new NSErrorException(ptr.get());
   }
   return result;
 }