MDCInkViewDelegate

@protocol MDCInkViewDelegate <NSObject>

Delegate protocol for MDCInkView. Clients may implement this protocol to receive updates when ink layer start and end.

  • Called when the ink ripple animation begins.

    Declaration

    Objective-C

    - (void)inkAnimationDidStart:(nonnull MDCInkView *)inkView;

    Parameters

    inkView

    The MDCInkView that starts animating.

  • Called when the ink ripple animation ends.

    Declaration

    Objective-C

    - (void)inkAnimationDidEnd:(nonnull MDCInkView *)inkView;

    Parameters

    inkView

    The MDCInkView that ends animating.