FileDocCategorySizeDatePackage
ImsPhoneFactory.javaAPI DocAndroid 5.1 API1483Thu Mar 12 22:22:54 GMT 2015com.android.internal.telephony.imsphone

ImsPhoneFactory

public class ImsPhoneFactory extends Object
{@hide}

Fields Summary
Constructors Summary
Methods Summary
public static ImsPhonemakePhone(android.content.Context context, com.android.internal.telephony.PhoneNotifier phoneNotifier, com.android.internal.telephony.Phone defaultPhone)
Makes a {@link ImsPhone} object.

param
context {@code Context} needed to create a Phone object
param
phoneNotifier {@code PhoneNotifier} needed to create a Phone object
return
the {@code ImsPhone} object


        try {
            return new ImsPhone(context, phoneNotifier, defaultPhone);
        } catch (Exception e) {
            Rlog.e("VoltePhoneFactory", "makePhone", e);
            return null;
        }