hasSubPlatform method

bool hasSubPlatform()

Has sub platform - mraa_has_sub_platform

Detect the presence of sub platform. Returns true if a sub platform is present and initialized.

Implementation

bool hasSubPlatform() {
  final ret = _impl.mraa_has_sub_platform();
  return ret == 1;
}