Provider.Service.GetAttribute(String) Method

Definition

Return the value of the specified attribute or null if this attribute is not set for this Service.

[Android.Runtime.Register("getAttribute", "(Ljava/lang/String;)Ljava/lang/String;", "")]
public string GetAttribute (string name);
[<Android.Runtime.Register("getAttribute", "(Ljava/lang/String;)Ljava/lang/String;", "")>]
member this.GetAttribute : string -> string

Parameters

name
String

the name of the requested attribute

Returns

the value of the specified attribute or null if the attribute is not present

Attributes

Exceptions

if name is null.

Remarks

Return the value of the specified attribute or null if this attribute is not set for this Service.

Java documentation for java.security.Provider.Service.getAttribute(java.lang.String).

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.

Applies to