Table of Contents

Class NsdServiceInfo

Namespace
Android.Net.Nsd
Assembly
MASES.Netdroid.dll
public class NsdServiceInfo : Parcelable, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IParcelable
Inheritance
NsdServiceInfo
Implements
Inherited Members
Extension Methods

Constructors

NsdServiceInfo()

public NsdServiceInfo()

NsdServiceInfo(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public NsdServiceInfo(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

CREATOR

public static Parcelable.Creator CREATOR { get; set; }

Property Value

Parcelable.Creator

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

CreatePoolableInstance()

HPA initializer for NsdServiceInfo()

public static NsdServiceInfo CreatePoolableInstance()

Returns

NsdServiceInfo

DescribeContents()

public int DescribeContents()

Returns

int

int

GetAttributes()

public Map<String, byte[]> GetAttributes()

Returns

Map<String, byte[]>

Map

GetHost()

[Obsolete("Deprecated in JVM")]
public InetAddress GetHost()

Returns

InetAddress

InetAddress

GetHostAddresses()

public List<InetAddress> GetHostAddresses()

Returns

List<InetAddress>

List

GetHostname()

public String GetHostname()

Returns

String

String

GetNetwork()

public Network GetNetwork()

Returns

Network

Network

GetPort()

public int GetPort()

Returns

int

int

GetServiceName()

public String GetServiceName()

Returns

String

String

GetServiceType()

public String GetServiceType()

Returns

String

String

GetSubtypes()

public Set<String> GetSubtypes()

Returns

Set<String>

Set

RemoveAttribute(String)

public void RemoveAttribute(String arg0)

Parameters

arg0 String

String

SetAttribute(String, String)

public void SetAttribute(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

SetHost(InetAddress)

[Obsolete("Deprecated in JVM")]
public void SetHost(InetAddress arg0)

Parameters

arg0 InetAddress

InetAddress

SetHostAddresses(List<InetAddress>)

public void SetHostAddresses(List<InetAddress> arg0)

Parameters

arg0 List<InetAddress>

List

SetNetwork(Network)

public void SetNetwork(Network arg0)

Parameters

arg0 Network

Network

SetPort(int)

public void SetPort(int arg0)

Parameters

arg0 int

int

SetServiceName(String)

public void SetServiceName(String arg0)

Parameters

arg0 String

String

SetServiceType(String)

public void SetServiceType(String arg0)

Parameters

arg0 String

String

SetSubtypes(Set<String>)

public void SetSubtypes(Set<String> arg0)

Parameters

arg0 Set<String>

Set

WriteToParcel(Parcel, int)

public void WriteToParcel(Parcel arg0, int arg1)

Parameters

arg0 Parcel

Parcel

arg1 int

int