WifiP2pManager.P2pMaxAllowedVendorElementsLengthBytes 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.
Return the maximum total length (in bytes) of all Vendor specific information
elements (VSIEs) which can be set using the
#setVendorElements(Channel, List, ActionListener)
.
public static int P2pMaxAllowedVendorElementsLengthBytes { [Android.Runtime.Register("getP2pMaxAllowedVendorElementsLengthBytes", "()I", "", ApiSince=33)] get; }
[<get: Android.Runtime.Register("getP2pMaxAllowedVendorElementsLengthBytes", "()I", "", ApiSince=33)>]
static member P2pMaxAllowedVendorElementsLengthBytes : int
Property Value
- Attributes
Remarks
Return the maximum total length (in bytes) of all Vendor specific information elements (VSIEs) which can be set using the #setVendorElements(Channel, List, ActionListener)
.
The length is calculated adding the payload length + 2 bytes for each VSIE (2 bytes: 1 byte for type and 1 byte for length).
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.