Ejemplo n.º 1
0
        public PropertyList ConnectionInfo(string connectionName = null)
        {
            var statement = new SenseTalkStatementBuilder("ConnectionInfo", SenseTalkStatementType.Function)
                            .AddQuotedParameter(connectionName)
                            .ToString();

            return(Execute(statement).ReturnValueAsPropertyList());
        }
Ejemplo n.º 2
0
 public void PinchIn(
     string atImageName,
     string fromImageName,
     double?durationSeconds = null)
 {
     ExecutePinch(true, durationSeconds,
                  atPoint: SenseTalkStatementBuilder.Quote(atImageName),
                  fromPoint: SenseTalkStatementBuilder.Quote(fromImageName));
 }
Ejemplo n.º 3
0
 public void PinchIn(
     string atImageName,
     double?durationSeconds = null,
     int?distance           = null)
 {
     ExecutePinch(true, durationSeconds,
                  distance,
                  SenseTalkStatementBuilder.Quote(atImageName));
 }
Ejemplo n.º 4
0
 public void PinchOut(
     string atImageName,
     string toImageName,
     double?durationSeconds = null)
 {
     ExecutePinch(false, durationSeconds,
                  atPoint: SenseTalkStatementBuilder.Quote(atImageName),
                  toPoint: SenseTalkStatementBuilder.Quote(toImageName));
 }