cn.jpush.api.schedule.Enabled.getEnable C# (CSharp) Method

getEnable() public method

public getEnable ( ) : bool
return bool
        public bool getEnable()
        {
            return enable;
        }

Usage Example

 public SchedulePayload(Name name, Enabled enabled, TriggerPayload trigger, PushPayload push)
 {
     schedule_id = null;
     Debug.Assert(name != null);
     Debug.Assert(enabled.getEnable());
     Debug.Assert(trigger != null);
     Debug.Assert(push != null);
     this.name = name.getName();
     this.enabled = true;
     this.trigger = trigger;
     this.push = push;
     jSetting = new JsonSerializerSettings();
     jSetting.NullValueHandling = NullValueHandling.Ignore;
     jSetting.DefaultValueHandling = DefaultValueHandling.Ignore;
 }
All Usage Examples Of cn.jpush.api.schedule.Enabled::getEnable