Class ApnsConfig
Apple Push Notification Service specific options.
Implements
Inherited Members
Namespace: Google.Apis.FirebaseCloudMessaging.v1.Data
Assembly: Google.Apis.FirebaseCloudMessaging.v1.dll
Syntax
public class ApnsConfig : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
FcmOptions
Options for features provided by the FCM SDK for iOS.
Declaration
[JsonProperty("fcmOptions")]
public virtual ApnsFcmOptions FcmOptions { get; set; }
Property Value
Type | Description |
---|---|
ApnsFcmOptions |
Headers
HTTP request headers defined in Apple Push Notification Service. Refer to APNs request
headers
for supported headers such as apns-expiration
and apns-priority
. The backend sets a default value for
apns-expiration
of 30 days and a default value for apns-priority
of 10 if not explicitly set.
Declaration
[JsonProperty("headers")]
public virtual IDictionary<string, string> Headers { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
Payload
APNs payload as a JSON object, including both aps
dictionary and custom payload. See Payload Key
Reference.
If present, it overrides google.firebase.fcm.v1.Notification.title and
google.firebase.fcm.v1.Notification.body.
Declaration
[JsonProperty("payload")]
public virtual IDictionary<string, object> Payload { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, object> |