Exemple #1
0
 @Override
 public Operand[] getOperands() {
   // -0 is not possible so we add 1 to arguments with closure so we get a valid negative value.
   Fixnum arity = new Fixnum(closure != null ? -1 * (arguments.length + 1) : arguments.length);
   return buildAllArgs(
       new Fixnum(callType.ordinal()), getMethodAddr(), receiver, arity, arguments, closure);
 }
 @Override
 public String toString() {
   StringBuilder builder = new StringBuilder();
   builder
       .append("[")
       .append(callType.toString())
       .append(", ")
       .append(phoneNumber)
       .append(", ")
       .append(sdf.format(timeOfCall))
       .append("]");
   return builder.toString();
 }
Exemple #3
0
 public void call(CallType type) {
   SkypeAPI.openURI(name + "?call&video=" + type.isVideo());
 }