com.skype
Class Profile.CallForwardingRule

java.lang.Object
  extended by com.skype.Profile.CallForwardingRule
Enclosing class:
Profile

public static final class Profile.CallForwardingRule
extends Object

The CallForwardingRule class contains the information of a call forwarding rule.


Constructor Summary
Profile.CallForwardingRule(int newStartSecond, int newEndSecond, String newTarget)
          Constructs a call forwarding rule.
 
Method Summary
 boolean equals(Object compared)
          
 int getEndSecond()
          Gets the time in seconds when ringing to this number/user ends.
 int getStartSecond()
          Gets the time in seconds when connecting to this number/user starts.
 String getTarget()
          Gets the target Skype username to forward calls to, or the PSTN number to forward a call.
 int hashCode()
          
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Profile.CallForwardingRule

public Profile.CallForwardingRule(int newStartSecond,
                                  int newEndSecond,
                                  String newTarget)
Constructs a call forwarding rule.

Parameters:
newStartSecond - the time in seconds when connecting to this number/user starts.
newEndSecond - the time in seconds when ringing to this number/user ends.
newTarget - the target Skype username to forward calls to, or the PSTN number to forward a call.
Method Detail

hashCode

public int hashCode()

Overrides:
hashCode in class Object

equals

public boolean equals(Object compared)

Overrides:
equals in class Object

toString

public String toString()

Overrides:
toString in class Object

getStartSecond

public int getStartSecond()
Gets the time in seconds when connecting to this number/user starts.

Returns:
the time in seconds when connecting to this number/user starts.

getEndSecond

public int getEndSecond()
Gets the time in seconds when ringing to this number/user ends.

Returns:
the time in seconds when ringing to this number/user ends.

getTarget

public String getTarget()
Gets the target Skype username to forward calls to, or the PSTN number to forward a call.

Returns:
the target Skype username to forward calls to, or the PSTN number to forward a call.


Copyright © 2004-2011. All Rights Reserved.