HttpsRecord.Priority Property
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.
Returns the priority of the HTTPS record, i.
public virtual int Priority { [Android.Runtime.Register("getPriority", "()I", "GetGetPriorityHandler", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getPriority", "()I", "GetGetPriorityHandler", ApiSince=37)>]
member this.Priority : int
Property Value
Value is between 0 and 65535 inclusive
- Attributes
Remarks
Returns the priority of the HTTPS record, i.e. the contents of the SvcPriority field.
If the priority is 0, the record is considered AliasMode, and will not contain any IP hints, port, ALPN IDs, or ECH configurations. Otherwise, it is ServiceMode.
Because RR sets are unordered, this priority field is used to impose an ordering, where smaller values are recommended for use over those with a larger priority value.
See RFC 9460 2.4 for more details.
Android reference for android.net.dns.HttpsRecord.getPriority.
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.