/// <summary> /// Set custom policies to the delivery client. This will allow you to fine grain control on when an attempt should be made to deliver the events on the service. /// </summary> /// <param name="policy">An instance of <see cref="Amazon.MobileAnalytics.MobileAnalyticsManager.IDeliveryPolicy"/></param> public void AddDeliveryPolicies(IDeliveryPolicy policy) { if (policy != null) { _deliveryPolicies.Add(policy); } }
public CreateJob(IDeliveryPolicy policy, DeliveryService service, DeliveryFactory factory) { Policy = policy; Service = service; Factory = factory; }
/// <summary> /// Set custom policies to the delivery client. This will allow you to fine grain control on when an attempt should be made to deliver the events on the service. /// </summary> /// <param name="policy">An instance of <see cref="Amazon.MobileAnalytics.MobileAnalyticsManager.IDeliveryPolicy"/></param> public void AddDeliveryPolicies(IDeliveryPolicy policy) { if (policy != null) _deliveryPolicies.Add(policy); }
public Scheduler(IDeliveryPolicy policy) { Policy = policy; }