Package totalcross.phone
Class Dial
- java.lang.Object
-
- totalcross.phone.Dial
-
public final class Dial extends java.lang.ObjectUsed to dial a number in a smartphone. A single listener can receive messages from the system informing the current status. Currently works on Android and iOS.- Since:
- TotalCross 1.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDial.ListenerDeprecated.
-
Field Summary
Fields Modifier and Type Field Description static Dial.ListenerlistenerThe listener that will receive status change messages.
-
Constructor Summary
Constructors Constructor Description Dial()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static voidhangup()Deprecated.static voidnumber(java.lang.String number)Dials the given number.
-
-
-
Field Detail
-
listener
public static Dial.Listener listener
The listener that will receive status change messages. Does not work on the currently supported platforms.
-
-
Method Detail
-
number
public static void number(java.lang.String number) throws IOExceptionDials the given number.- Throws:
IOException
-
hangup
@Deprecated public static void hangup()
Deprecated.Hangs up a running call. Does not work on the currently supported platforms.
-
-