Share via


VpnService.Builder.SetMetered(Boolean) Method

Definition

[Android.Runtime.Register("setMetered", "(Z)Landroid/net/VpnService$Builder;", "GetSetMetered_ZHandler", ApiSince=29)]
public virtual Android.Net.VpnService.Builder SetMetered (bool isMetered);
[<Android.Runtime.Register("setMetered", "(Z)Landroid/net/VpnService$Builder;", "GetSetMetered_ZHandler", ApiSince=29)>]
abstract member SetMetered : bool -> Android.Net.VpnService.Builder
override this.SetMetered : bool -> Android.Net.VpnService.Builder

Parameters

isMetered
Boolean

Returns

Attributes

Applies to