create

@NonNull
open fun create(@Nullable name: @Nullable String, windowSizeBytes: Long): @NonNull CursorWindow(source)

Creates a CursorWindow of the specified size.

Prior to Android P, this method will return a CursorWindow of size defined by the platform.