Package org.robolectric.shadows
Class PhoneAccountBuilder
- java.lang.Object
-
- android.telecom.PhoneAccount.Builder
-
- org.robolectric.shadows.PhoneAccountBuilder
-
public class PhoneAccountBuilder extends PhoneAccount.Builder
A more advanced builder forPhoneAccount
that gives access to some hidden methods onPhoneAccount.Builder
.
-
-
Constructor Summary
Constructors Constructor Description PhoneAccountBuilder(PhoneAccount phoneAccount)
PhoneAccountBuilder(PhoneAccountHandle accountHandle, CharSequence label)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PhoneAccountBuilder
setIsEnabled(boolean isEnabled)
-
Methods inherited from class android.telecom.PhoneAccount.Builder
addSupportedUriScheme, build, setAddress, setCapabilities, setExtras, setGroupId, setHighlightColor, setIcon, setLabel, setShortDescription, setSubscriptionAddress, setSupportedAudioRoutes, setSupportedUriSchemes
-
-
-
-
Constructor Detail
-
PhoneAccountBuilder
public PhoneAccountBuilder(PhoneAccountHandle accountHandle, CharSequence label)
-
PhoneAccountBuilder
public PhoneAccountBuilder(PhoneAccount phoneAccount)
-
-
Method Detail
-
setIsEnabled
public PhoneAccountBuilder setIsEnabled(boolean isEnabled)
- Overrides:
setIsEnabled
in classPhoneAccount.Builder
-
-