public class

PhoneUtils

extends Object
java.lang.Object
   ↳ com.android.phone.PhoneUtils

Class Overview

Misc utilities for the Phone app.

Summary

Nested Classes
class PhoneUtils.CallerInfoToken Class returned by the startGetCallerInfo call to package a temporary CallerInfo Object, to be superceded by the CallerInfo Object passed into the listener when the query with token mAsyncQueryToken is complete. 
class PhoneUtils.VoiceMailNumberMissingException  
Public Methods
static Phone getSipPhoneFromUri(CallManager cm, String target)
static void initializeConnectionHandler(CallManager cm)
Register the ConnectionHandler with the phone, to receive connection events
static boolean isRealIncomingCall(Call.State state)
static Phone pickPhoneBasedOnNumber(CallManager cm, String scheme, String number, String primarySipUri)
Returns the most appropriate Phone object to handle a call to the specified number.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static Phone getSipPhoneFromUri (CallManager cm, String target)

public static void initializeConnectionHandler (CallManager cm)

Register the ConnectionHandler with the phone, to receive connection events

public static boolean isRealIncomingCall (Call.State state)

public static Phone pickPhoneBasedOnNumber (CallManager cm, String scheme, String number, String primarySipUri)

Returns the most appropriate Phone object to handle a call to the specified number.

Parameters
cm the CallManager.
scheme the scheme from the data URI that the number originally came from.
number the phone number, or SIP address.