TrafficDescriptor.Builder.SetOsAppId(Byte[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set the OS App ID (including OS Id as defined in the specs).
[Android.Runtime.Register("setOsAppId", "([B)Landroid/telephony/data/TrafficDescriptor$Builder;", "", ApiSince=31)]
public Android.Telephony.Data.TrafficDescriptor.Builder SetOsAppId(byte[] osAppId);
[<Android.Runtime.Register("setOsAppId", "([B)Landroid/telephony/data/TrafficDescriptor$Builder;", "", ApiSince=31)>]
member this.SetOsAppId : byte[] -> Android.Telephony.Data.TrafficDescriptor.Builder
Parameters
- osAppId
- Byte[]
The encoded OS App ID, including the 16-byte operating-system identifier, a one-byte length, and the application-category identifier with any differentiator suffix. This is a structured identifier, not arbitrary application bytes. Android checks the operating-system and application-category identifiers when Build() creates the descriptor.
Returns
The same instance of the builder. This value cannot be null.
- Attributes
Remarks
Set the OS App ID (including OS Id as defined in the specs).
Android reference for android.telephony.data.TrafficDescriptor.Builder.setOsAppId.
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.