BlockedNumberContract.Unblock(Context, String) Method
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.
Unblocks the phoneNumber if it is blocked.
[Android.Runtime.Register("unblock", "(Landroid/content/Context;Ljava/lang/String;)I", "", ApiSince=24)]
public static int Unblock (Android.Content.Context? context, string? phoneNumber);
[<Android.Runtime.Register("unblock", "(Landroid/content/Context;Ljava/lang/String;)I", "", ApiSince=24)>]
static member Unblock : Android.Content.Context * string -> int
Parameters
- context
- Context
- phoneNumber
- String
Returns
the number of rows deleted in the blocked number provider as a result of unblock.
- Attributes
Remarks
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.