Google is committed to advancing racial equity for Black communities. See how.

type method

int type () override

Should be one of

direntTypeUnknown direntTypeDirectory direntTypeBlockDevice direntTypeFile direntTypeSocket direntTypeService

These are defined in io.fidl.

Implementation

@override
int type() {
  return direntTypeFile;
}