Пример #1
0
        public TransmissionTarget GetTransmissionTarget(string childTransmissionTargetToken)
        {
            if (string.IsNullOrEmpty(childTransmissionTargetToken))
            {
                return(null);
            }
            bool success;
            var  internalObject = TransmissionTargetInternal.GetTransmissionTarget(_rawObject, childTransmissionTargetToken, out success);

            return(success ? new TransmissionTarget(internalObject) : null);
        }
Пример #2
0
 public void TrackEvent(string eventName, IDictionary <string, string> properties)
 {
     if (properties == null)
     {
         TrackEvent(eventName);
     }
     else
     {
         TransmissionTargetInternal.TrackEventWithProperties(_rawObject, eventName, properties);
     }
 }
Пример #3
0
 public void TrackEvent(string eventName, EventProperties properties, Flags flags)
 {
     if (properties == null)
     {
         TrackEvent(eventName, flags);
     }
     else
     {
         TransmissionTargetInternal.TrackEventWithProperties(_rawObject, eventName, properties, (int)flags);
     }
 }
Пример #4
0
        public TransmissionTarget GetTransmissionTarget(string childTransmissionTargetToken)
        {
            if (string.IsNullOrEmpty(childTransmissionTargetToken))
            {
                return(null);
            }
            var internalObject = TransmissionTargetInternal.GetTransmissionTarget(_rawObject, childTransmissionTargetToken);

            if (internalObject == null)
            {
                return(null);
            }
            return(new TransmissionTarget(internalObject));
        }
Пример #5
0
 public AppCenterTask SetEnabledAsync(bool enabled)
 {
     return(TransmissionTargetInternal.SetEnabledAsync(_rawObject, enabled));
 }
Пример #6
0
 public AppCenterTask <bool> IsEnabledAsync()
 {
     return(TransmissionTargetInternal.IsEnabledAsync(_rawObject));
 }
Пример #7
0
 public void TrackEvent(string eventName, Flags flags)
 {
     TransmissionTargetInternal.TrackEvent(_rawObject, eventName, (int)flags);
 }
Пример #8
0
 public void TrackEvent(string eventName)
 {
     TransmissionTargetInternal.TrackEvent(_rawObject, eventName);
 }
Пример #9
0
 public void Resume()
 {
     TransmissionTargetInternal.Resume(_rawObject);
 }
Пример #10
0
 public void Pause()
 {
     TransmissionTargetInternal.Pause(_rawObject);
 }
Пример #11
0
 public PropertyConfigurator GetPropertyConfigurator()
 {
     return(new PropertyConfigurator(TransmissionTargetInternal.GetPropertyConfigurator(_rawObject)));
 }
Пример #12
0
 public void TrackEvent(string eventName, EventProperties properties)
 {
     TransmissionTargetInternal.TrackEventWithProperties(_rawObject, eventName, properties);
 }