public bool AddNotifyChannel(MoblieNotifySBConfig config) { if (config == null) { return(false); } var channel = new AndroidNotificationChannel() { Id = config.ChannelId, Name = config.ChannelName, Importance = (Importance)config.Importance, Description = config.Description, CanBypassDnd = config.CanBypassDnd, CanShowBadge = config.CanShowBadge, EnableLights = config.EnableLights, EnableVibration = config.EnableVibration, LockScreenVisibility = (LockScreenVisibility)config.LockScreenVisibility }; AndroidNotificationCenter.RegisterNotificationChannel(channel); this.CurChannelId = config.ChannelId; return(true); }
public bool AddNotifyChannel(MoblieNotifySBConfig config) { return(true); }
public bool AddNotifyChannel(MoblieNotifySBConfig config) { throw new System.NotImplementedException(); }