Düzenle

Aracılığıyla paylaş


UIAccelerometerDelegate_Extensions Class

Definition

Extension methods to the IUIAccelerometerDelegate interface to support all the methods from the UIAccelerometerDelegate protocol.

public static class UIAccelerometerDelegate_Extensions
type UIAccelerometerDelegate_Extensions = class
Inheritance
UIAccelerometerDelegate_Extensions

Remarks

The extension methods for IUIAccelerometerDelegate allow developers to treat instances of the interface as having all the optional methods of the original UIAccelerometerDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

DidAccelerate(IUIAccelerometerDelegate, UIAccelerometer, UIAcceleration)

Indicates that an acceleration measurement has occurred.

Applies to