Security.InsertProviderAt(Provider, Int32) Method

Definition

Adds a new provider, at a specified position.

[Android.Runtime.Register("insertProviderAt", "(Ljava/security/Provider;I)I", "")]
public static int InsertProviderAt (Java.Security.Provider? provider, int position);
[<Android.Runtime.Register("insertProviderAt", "(Ljava/security/Provider;I)I", "")>]
static member InsertProviderAt : Java.Security.Provider * int -> int

Parameters

provider
Provider

the provider to be added.

position
Int32

the preference position that the caller would like for this provider.

Returns

Int32

the actual preference position in which the provider was added, or -1 if the provider was not added because it is already installed.

Attributes

Remarks

Java documentation for java.security.Security.insertProviderAt(java.security.Provider, int).

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