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 for
PhoneAccount
that gives access to some hidden methods on
PhoneAccount.Builder
.-
Constructor Summary
Constructors Constructor Description PhoneAccountBuilder(PhoneAccount phoneAccount)
PhoneAccountBuilder(PhoneAccountHandle accountHandle, CharSequence label)
-
Method Summary
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 Details
-
Method Details
-
setIsEnabled
- Overrides:
setIsEnabled
in classPhoneAccount.Builder
-