public int getNotificationCount(Boolean isAsync) { #if UNITY_IOS || UNITY_ANDROID return(nativeSdk.getNotificationCount(isAsync)); #else return(0); #endif }
/// <summary> /// Gets the notification count of unread messages for the current conversation. /// </summary> /// <returns>The notification count.</returns> /// <param name="isAsync">If set to <c>true</c> is, result will be returned in the didReceiveNotificationCount /// message handler. If set to <c>false</c> return value will have the local unread count.</param> public int getNotificationCount(Boolean isAsync) { return(nativeSdk.getNotificationCount(isAsync)); }