Class RoleType

java.lang.Object
com.azure.core.util.ExpandableStringEnum<RoleType>
com.azure.communication.rooms.models.RoleType

public final class RoleType extends com.azure.core.util.ExpandableStringEnum<RoleType>
Defines values for RoleType.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final RoleType
    Static value Attendee for RoleType.
    static final RoleType
    Static value Consumer for RoleType.
    static final RoleType
    Static value Presenter for RoleType.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static RoleType
    Creates or finds a RoleType from its string representation.
     

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, hashCode, toString, values

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • PRESENTER

      public static final RoleType PRESENTER
      Static value Presenter for RoleType.
    • ATTENDEE

      public static final RoleType ATTENDEE
      Static value Attendee for RoleType.
    • CONSUMER

      public static final RoleType CONSUMER
      Static value Consumer for RoleType.
  • Constructor Details

    • RoleType

      public RoleType()
  • Method Details

    • fromString

      public static RoleType fromString(String name)
      Creates or finds a RoleType from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding RoleType.
    • values

      public static Collection<RoleType> values()
      Returns:
      known RoleType values.