Share via


CarrierConfigManager.Ims.KeyImsUserAgentString Field

Definition

Specifies the IMS User Agent in template format.

[Android.Runtime.Register("KEY_IMS_USER_AGENT_STRING", ApiSince=33)]
public const string KeyImsUserAgentString;
[<Android.Runtime.Register("KEY_IMS_USER_AGENT_STRING", ApiSince=33)>]
val mutable KeyImsUserAgentString : string

Field Value

Attributes

Remarks

Specifies the IMS User Agent in template format.

Example: #MANUFACTURER#_#MODEL#_Android#AV#_#BUILD#". IMS Stack should internally substitute the tokens with the values from the respective android properties.

List of allowed tokens and the corresponding android properties are, <UL> <LI>MANUFACTURER : ro.product.manufacturer</LI> <LI>MODEL : ro.product.model</LI> <LI>AV : ro.build.version.release"</LI> <LI>BUILD : ro.build.id</LI> </UL>

Vendor IMS Stack should strip any whitespace characters present in the android properties values before replacing the token.

An empty string is invalid as per IR92 section 2.6. This key is considered invalid if the format is violated. If the key is invalid or not configured, IMS stack should use internal default values.

Java documentation for android.telephony.CarrierConfigManager.Ims.KEY_IMS_USER_AGENT_STRING.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to