Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Android library to provide Kotlin extensions for working with specific device types

License

Notifications You must be signed in to change notification settings

nisrulz/device-type-ktx

Repository files navigation

Device Type KTX

Banner

Android library to provide Kotlin extensions for working with specific device types.

Features:

  • Detect if device is a Phone or a Tablet.
  • Check orientation set for screen.
  • Lock screen orientation (Portrait or Landscape) for Phone and/or Tablet.
  • Detect if device has Bluetooth, NFC, Telephony and Camera hardware feature available.
  • Get screen resolution of device.
  • Check if device has MultiWindow mode enabled.

Use

Checkout the usage docs

Development

Checkout the dev docs

License

Copyright 2024 Nishant Srivastava

Licensed under the Apache License, Version 2.0.

About

Android library to provide Kotlin extensions for working with specific device types

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages