@Deprecated public static void setProperty(AudioSessionProperty id, double value) throws OSStatusException { setProperty(id, new DoublePtr(value)); } /**
public void setProperty(ExtAudioFileProperty id, double value) throws OSStatusException { setProperty(id, new DoublePtr(value)); } /*<methods>*/
public void setProperty(AudioFileProperty id, double value) throws OSStatusException { setProperty(id, new DoublePtr(value)); }
public void setProperty(AudioConverterProperty id, double value) throws OSStatusException { setProperty(id, new DoublePtr(value)); }
public double scanDouble() { DoublePtr ptr = new DoublePtr(); if (!scanDouble(ptr)) { return 0; } return ptr.get(); } public int scanHexInt() {
/** * @since Available in iOS 2.0 and later. */ public double scanHexDouble() { DoublePtr ptr = new DoublePtr(); if (!scanHexDouble(ptr)) { return 0; } return ptr.get(); } public String scanString(String string) {
public double getAbsoluteTime(String string, CFRange rangep) { DoublePtr ptr = new DoublePtr(); getAbsoluteTime(string, rangep, ptr); return ptr.get(); } /*<methods>*/
/** * @throws OSStatusException * @since Available in iOS 6.0 and later. */ public double getQueueSampleTime() throws OSStatusException { DoublePtr ptr = new DoublePtr(); getQueueTime(ptr, null); return ptr.get(); } /**
/** * @since Available in iOS 2.0 and later. */ public double getDuration(NSCalendarUnit unit, NSDate date) { DoublePtr ptr = new DoublePtr(); if (getRange(unit, new NSDate.NSDatePtr(), ptr, date)) { return ptr.get(); } return 0; } /*<methods>*/
/** * @throws OSStatusException * @since Available in iOS 5.0 and later. */ public double convertBarBeatTimeToBeats(CABarBeatTime barBeatTime) throws OSStatusException { DoublePtr ptr = new DoublePtr(); OSStatus status = convertBarBeatTimeToBeats0(barBeatTime, ptr); OSStatusException.throwIfNecessary(status); return ptr.get(); } /*<methods>*/
/** * @throws OSStatusException * @since Available in iOS 5.0 and later. */ public double getPlayRateScalar() throws OSStatusException { DoublePtr ptr = new DoublePtr(); OSStatus status = getPlayRateScalar0(ptr); OSStatusException.throwIfNecessary(status); return ptr.get(); } /*<methods>*/
/** * @throws OSStatusException * @since Available in iOS 5.0 and later. */ public double getTime() throws OSStatusException { DoublePtr ptr = new DoublePtr(); OSStatus status = getTime0(ptr); OSStatusException.throwIfNecessary(status); return ptr.get(); } /**
public static int getDefaultFractionDigitsForCurrencyCode(String currencyCode) { IntPtr ptr = new IntPtr(); getDecimalInfoForCurrencyCode(currencyCode, ptr, new DoublePtr()); return ptr.get(); } public static double getRoundingIncrementForCurrencyCode(String currencyCode) {
public static double getRoundingIncrementForCurrencyCode(String currencyCode) { DoublePtr ptr = new DoublePtr(); getDecimalInfoForCurrencyCode(currencyCode, new IntPtr(), ptr); return ptr.get(); } /*<methods>*/
/** * @throws OSStatusException * @since Available in iOS 5.0 and later. */ public double getBeatsForHostTime(long hostTime) throws OSStatusException { DoublePtr ptr = new DoublePtr(); OSStatus status = getBeatsForHostTime0(hostTime, ptr); OSStatusException.throwIfNecessary(status); return ptr.get(); } /**
/** * @since Available in iOS 2.0 and later. */ public NSDate getStartTime(NSCalendarUnit unit, NSDate date) { NSDate.NSDatePtr ptr = new NSDate.NSDatePtr(); if (getRange(unit, ptr, new DoublePtr(), date)) { return ptr.get(); } return null; } /**
/** * @throws OSStatusException * @since Available in iOS 5.0 and later. */ public double getSecondsForBeats(double beats) throws OSStatusException { DoublePtr ptr = new DoublePtr(); OSStatus status = getSecondsForBeats0(beats, ptr); OSStatusException.throwIfNecessary(status); return ptr.get(); } /**
/** * @throws OSStatusException * @since Available in iOS 5.0 and later. */ public double getBeatsForSeconds(double seconds) throws OSStatusException { DoublePtr ptr = new DoublePtr(); OSStatus status = getBeatsForSeconds0(seconds, ptr); OSStatusException.throwIfNecessary(status); return ptr.get(); } /**