Class TelecomManagerOptions


  • public final class TelecomManagerOptions
    extends Object
    Holds options for TelecomManager integration.
    • Constructor Summary

      Constructors 
      Constructor Description
      TelecomManagerOptions​(String phoneAccountId)
      Default constructor A string identifier that is unique across PhoneAccountHandles with the same component name.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void finalize()
      Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
      String getPhoneAccountId()
      A string identifier that is unique across PhoneAccountHandles with the same component name.
      • Methods inherited from class Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TelecomManagerOptions

        public TelecomManagerOptions​(String phoneAccountId)
        Default constructor A string identifier that is unique across PhoneAccountHandles with the same component name. Apps registering PhoneAccountHandles should ensure that the ID provided does not expose personally identifying information. A ConnectionService should use an opaque token as the PhoneAccountHandle identifier. Note: Each String field is limited to 256 characters.
        Parameters:
        phoneAccountId - A string identifier that is unique across PhoneAccountHandles with the same component name. Apps registering PhoneAccountHandles should ensure that the ID provided does not expose personally identifying information. A ConnectionService should use an opaque token as the PhoneAccountHandle identifier. Note: Each String field is limited to 256 characters.
    • Method Detail

      • finalize

        protected void finalize()
        Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
        Overrides:
        finalize in class Object
      • getPhoneAccountId

        public String getPhoneAccountId()
        A string identifier that is unique across PhoneAccountHandles with the same component name. Apps registering PhoneAccountHandles should ensure that the ID provided does not expose personally identifying information. A ConnectionService should use an opaque token as the PhoneAccountHandle identifier. Note: Each String field is limited to 256 characters. This check is enforced when registering the PhoneAccount via TelecomManager.registerPhoneAccount(PhoneAccount) and will cause an IllegalArgumentException to be thrown if the character field limit is over 256.