MDCSnackbarMessageAction

@interface MDCSnackbarMessageAction
    : NSObject <UIAccessibilityIdentification, NSCopying>

Represents a button in a MDCSnackbarMessage.

  • The title text on the button.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *title;
  • Called when the button in the Snackbar is tapped.

    Always called on the main thread.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable)
        MDCSnackbarMessageActionHandler handler;