Methods Summary |
---|
public int | describeContents(){@inheritDoc}
return 0;
|
public android.net.Uri | getGatewayAddress()Returns the gateway address to dial when placing the call.
return mGatewayAddress;
|
public java.lang.String | getGatewayProviderPackageName()Package name of the gateway provider service that provided the gateway information.
This can be used to identify the gateway address source and to load an appropriate icon when
displaying gateway information in the in-call UI.
return mGatewayProviderPackageName;
|
public android.net.Uri | getOriginalAddress()Returns the address that the user is trying to connect to via the gateway.
return mOriginalAddress;
|
public boolean | isEmpty()Indicates whether this {@code GatewayInfo} instance contains any data. A returned value of
false indicates that no gateway number is being used for the call.
return TextUtils.isEmpty(mGatewayProviderPackageName) || mGatewayAddress == null;
|
public void | writeToParcel(android.os.Parcel destination, int flags){@inheritDoc}
destination.writeString(mGatewayProviderPackageName);
mGatewayAddress.writeToParcel(destination, 0);
mOriginalAddress.writeToParcel(destination, 0);
|