@Deprecated public class UIAccelerometer extends NSObject
Modifier and Type | Method and Description |
---|---|
void |
setDelegate(UIAccelerometerDelegate delegate)
Deprecated.
Sets the delegate object that receives the acceleration events.
|
void |
setUpdateInterval(double i)
Deprecated.
Sets the time needed until the deliver of the acceleration data to the
delegate.
|
static UIAccelerometer |
sharedAccelerometer()
Deprecated.
Returns the accelerometer object of the system that is shared.
|
addObserver, observeValueForKeyPath, performSelector, performSelectorOnMainThread, release, removeObserver, removeObserver, retain, setValueForKey, setValueForUndefinedKey, valueForKey, valueForUndefinedKey
public static UIAccelerometer sharedAccelerometer()
public void setUpdateInterval(double i)
i
- The time needed until the deliver of the acceleration data to
the delegate.public void setDelegate(UIAccelerometerDelegate delegate)
delegate
- The delegate object that receives the acceleration
events.Copyright © 2020. All rights reserved.