বিষয়বস্তুতে যান

Xamarin-এর জন্য মেসেজ ইনবক্স

Xamarin.iOS

Anchor link to

১. আপনার প্রজেক্টে Pushwoosh.Inbox.Xamarin.iOS Nuget প্যাকেজ যোগ করুন।
২. আপনার প্রজেক্টে, AppDelegate.cs খুলুন এবং using Pushwoosh.Inbox লাইনটি যোগ করে Pushwoosh.Inbox কানেক্ট করুন।
৩. আপনার অ্যাপে ইনবক্স UI দেখানোর জন্য, Inbox view controller যোগ করুন:

NavigationController.PushViewController(PWIInboxUI.CreateInboxControllerWithStyle(PWIInboxStyle.DefaultStyle()), true);

৪. ইনবক্সটিকে আপনার অ্যাপের একটি স্বাভাবিক অংশ হিসেবে দেখাতে, PWIInboxStyle-এর প্যারামিটার পরিবর্তন করুন। আপনি ফন্ট, ব্যাকগ্রাউন্ড কালার ইত্যাদির মতো প্যারামিটার কাস্টমাইজ করতে পারেন।

PWIInboxStyle inboxStyle = PWIInboxStyle.CustomStyleWithDefaultImageIcon(
UIImage.FromBundle("Default"),
UIColor.DarkTextColor,
UIColor.Blue,
UIFont.SystemFontOfSize(17));
inboxStyle.BackgroundColor = UIColor.White;
inboxStyle.SelectionColor = UIColor.Orange;
inboxStyle.ListErrorMessage = "Custom error message";
inboxStyle.ListEmptyMessage = "Custom empty message";
PWIInboxStyle.SetupDefaultStyle(inboxStyle);

Xamarin.Android

Anchor link to

১. আপনার প্রজেক্টে Pushwoosh.Inbox.Xamarin.Android Nuget প্যাকেজ যোগ করুন।
২. নিম্নলিখিত লাইনগুলো যোগ করে Pushwoosh.Inbox কানেক্ট করুন:

using Pushwoosh.Inbox;
using Pushwoosh.Inbox.UI;
using Pushwoosh.Inbox.UI.Activity;

৩. আপনার অ্যাপে ইনবক্স UI দেখানোর জন্য, InboxActivity শুরু করুন:

Intent intent = new Intent(this, typeof(InboxActivity));
StartActivity(intent);

৪. ইনবক্সটিকে আপনার অ্যাপের একটি স্বাভাবিক অংশ হিসেবে দেখাতে, PushwooshInboxStyle-এর প্যারামিটার পরিবর্তন করুন। আপনি ফন্ট, ব্যাকগ্রাউন্ড কালার ইত্যাদির মতো প্যারামিটার কাস্টমাইজ করতে পারেন।

PushwooshInboxStyle inboxStyle = PushwooshInboxStyle.Instance;
inboxStyle.BackgroundColor = new Integer(Color.GhostWhite);
inboxStyle.HighlightColor = new Integer(Color.ParseColor("#ff00ff"));
inboxStyle.ListErrorMessage = "Custom error message";
inboxStyle.ListEmptyText = "Custom empty message";
inboxStyle.DefaultImageIcon = Resource.Drawable.inbox_message;

আমাদের সাথে আপনার মতামত শেয়ার করুন

Anchor link to

আপনার মতামত আমাদের একটি উন্নত অভিজ্ঞতা তৈরি করতে সাহায্য করে, তাই SDK ইন্টিগ্রেশন প্রক্রিয়ার সময় আপনার কোনো সমস্যা হলে আমরা আপনার কাছ থেকে শুনতে চাই। আপনি যদি কোনো অসুবিধার সম্মুখীন হন, তাহলে অনুগ্রহ করে আমাদের সাথে আপনার মতামত শেয়ার করতে দ্বিধা করবেন না এই ফর্মের মাধ্যমে

Was this page useful?