Android.Text.Format.Formatter.FormatFileSize Method
Formats a content size to be in the form of bytes, kilobytes, megabytes, etc

Syntax

[Android.Runtime.Register("formatFileSize", "(Landroid/content/Context;J)Ljava/lang/String;", "")]
public static string FormatFileSize (Android.Content.Context context, long number)

Parameters

context
Context to use to load the localized units
number
size value to be formatted

Returns

Documentation for this section has not yet been entered.

Remarks

Formats a content size to be in the form of bytes, kilobytes, megabytes, etc

[Android Documentation]

Requirements

Namespace: Android.Text.Format
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 3