NsdServiceInfo.Attributes 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.
Retrieve attributes as a map of String keys to byte[] values.
public System.Collections.Generic.IDictionary<string,byte[]>? Attributes { [Android.Runtime.Register("getAttributes", "()Ljava/util/Map;", "")] get; }
[<get: Android.Runtime.Register("getAttributes", "()Ljava/util/Map;", "")>]
member this.Attributes : System.Collections.Generic.IDictionary<string, byte[]>
Property Value
- Attributes
Remarks
Retrieve attributes as a map of String keys to byte[] values. The attributes map is only valid for a resolved service.
The returned map is unmodifiable; changes must be made through #setAttribute
and #removeAttribute
.
Java documentation for android.net.nsd.NsdServiceInfo.getAttributes()
.
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.