Interface PermissionManager

  • All Implemented Interfaces:

    
    public interface PermissionManager
    
                        

    Interface used to keep track of permissions needed for the Video call to work.

    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • checkPermission

         abstract Boolean checkPermission(String permission)

        Used to check whether a permission is granted.

        Parameters:
        permission - The permission for which we want to check if it is granted.
        Returns:

        Whether the permission is granted or not.

      • requestPermission

         abstract Boolean requestPermission(String permission)

        Used to request a permission or returns true if already granted.

        Parameters:
        permission - The permission which we want to be be granted.
        Returns:

        Returns true if permission is already granted and false if the permission needs to be requested.