void Init() { const string CHNNEL_ID = "456784343"; const string CHNNEL_NAME = "545765554"; const int ID = 3435; ServerHelper.CreateNotificationChannel(this, CHNNEL_ID, CHNNEL_NAME); var func = ServerHelper.CreateServerNotificationFunc( PendingIntent.GetActivity(this, 0, new Intent(this, typeof(MainActivity)), 0), AppInfo.Name, this, CHNNEL_ID); this.StartForeground(ID, func("Run")); }