diff options
Diffstat (limited to 'Firebase/Messaging/Public/FIRMessaging.h')
-rw-r--r-- | Firebase/Messaging/Public/FIRMessaging.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Firebase/Messaging/Public/FIRMessaging.h b/Firebase/Messaging/Public/FIRMessaging.h index 3ad15da..e58a216 100644 --- a/Firebase/Messaging/Public/FIRMessaging.h +++ b/Firebase/Messaging/Public/FIRMessaging.h @@ -291,7 +291,12 @@ NS_SWIFT_NAME(Messaging) * receiving non-APNS, data-only messages in foregrounded apps. * Default is `NO`. */ -@property(nonatomic, assign, getter=isDirectChannelEstablished) BOOL shouldEstablishDirectChannel; +@property(nonatomic) BOOL shouldEstablishDirectChannel; + +/** + * Returns `YES` if the direct channel to the FCM server is active, and `NO` otherwise. + */ +@property(nonatomic, readonly) BOOL isDirectChannelEstablished; /** * FIRMessaging |