AWSPinpointTargetingGCMChannelRequest

Objective-C

@interface AWSPinpointTargetingGCMChannelRequest

Swift

class AWSPinpointTargetingGCMChannelRequest

Specifies the status and settings of the GCM channel for an application. This channel enables Amazon Pinpoint to send push notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service.

Required parameters: [ApiKey]

  • The Web API Key, also referred to as an API_KEY or server key, that you received from Google to communicate with Google services.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable apiKey;

    Swift

    var apiKey: String? { get set }
  • Specifies whether to enable the GCM channel for the application.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable enabled;

    Swift

    var enabled: NSNumber? { get set }