Attributes
- Companion
- class
- Graph
-
- Supertypes
-
trait Sumtrait Mirrortrait Enum[LocationServiceUsage]class Objecttrait Matchableclass AnyShow all
- Self type
-
LocationServiceUsage.type
Members list
Type members
Classlikes
Represents the action to skip registration with location service
Represents the action to skip registration with location service
Attributes
- Supertypes
- Self type
-
DoNotRegister.type
Represents the action to register with location service and track other components. Mostly this is used by Sequencers and Assemblies.
Represents the action to register with location service and track other components. Mostly this is used by Sequencers and Assemblies.
Attributes
- Supertypes
- Self type
Represents the action to register with location service. Mostly this is used by HCDs.
Represents the action to register with location service. Mostly this is used by HCDs.
Attributes
- Supertypes
- Self type
-
RegisterOnly.type
Inherited and Abstract types
The names of the product elements
The name of the type
Value members
Concrete methods
The sequence of values for your Enum. You will typically want to implement this in your extending class as a val
so that withName
and friends are as efficient as possible.
The sequence of values for your Enum. You will typically want to implement this in your extending class as a val
so that withName
and friends are as efficient as possible.
Feel free to implement this however you'd like (including messing around with ordering, etc) if that fits your needs better.
Attributes
- Definition Classes
Inherited methods
Additional list of names which can be mapped to values, for example to allow mapping of legacy values.
Additional list of names which can be mapped to values, for example to allow mapping of legacy values.
Attributes
- Returns
-
a Map of names to Values
- Inherited from:
- Enum
Returns a Seq of A objects that the macro was able to find.
Returns a Seq of A objects that the macro was able to find.
You will want to use this in some way to implement your values method. In fact, if you aren't using this method... why are you even bothering with this lib?
Attributes
- Inherited from:
- EnumCompat (hidden)
Returns the index number of the member passed in the values picked up by this enum
Returns the index number of the member passed in the values picked up by this enum
Value parameters
- member
-
the member you want to check the index of
Attributes
- Returns
-
the index of the first element of values that is equal (as determined by ==) to member, or -1, if none exists.
- Inherited from:
- Enum
Tries to get an A by the supplied name. The name corresponds to the .name of the case objects implementing A
Tries to get an A by the supplied name. The name corresponds to the .name of the case objects implementing A
Like Enumeration 's withName
, this method will throw if the name does not match any of the values' .entryName values.
Attributes
- Inherited from:
- Enum
Returns an [[Right[A]] ] for a given name, or a [[Left[NoSuchMember]] ] if the name does not match any of the values' .entryName values.
Returns an [[Right[A]] ] for a given name, or a [[Left[NoSuchMember]] ] if the name does not match any of the values' .entryName values.
Attributes
- Inherited from:
- Enum
Tries to get an A by the supplied name. The name corresponds to the .name of the case objects implementing A, disregarding case
Tries to get an A by the supplied name. The name corresponds to the .name of the case objects implementing A, disregarding case
Like Enumeration 's withName
, this method will throw if the name does not match any of the values' .entryName values.
Attributes
- Inherited from:
- Enum
Returns an [[Right[A]] ] for a given name, or a [[Left[NoSuchMember]] ] if the name does not match any of the values' .entryName values, disregarding case.
Returns an [[Right[A]] ] for a given name, or a [[Left[NoSuchMember]] ] if the name does not match any of the values' .entryName values, disregarding case.
Attributes
- Inherited from:
- Enum
Tries to get an A by the supplied name. The name corresponds to the .name of the case objects implementing A transformed to lower case
Tries to get an A by the supplied name. The name corresponds to the .name of the case objects implementing A transformed to lower case
Like Enumeration 's withName
, this method will throw if the name does not match any of the values' .entryName values.
Attributes
- Inherited from:
- Enum
Returns an [[Right[A]] ] for a given name, or a [[Left[NoSuchMember]] ] if the name does not match any of the values' .entryName values, disregarding case.
Returns an [[Right[A]] ] for a given name, or a [[Left[NoSuchMember]] ] if the name does not match any of the values' .entryName values, disregarding case.
Attributes
- Inherited from:
- Enum
Tries to get an A by the supplied name. The name corresponds to the .name of the case objects implementing A transformed to upper case
Tries to get an A by the supplied name. The name corresponds to the .name of the case objects implementing A transformed to upper case
Like Enumeration 's withName
, this method will throw if the name does not match any of the values' .entryName values.
Attributes
- Inherited from:
- Enum
Returns an [[Right[A]] ] for a given name, or a [[Left[NoSuchMember]] ] if the name does not match any of the values' .entryName values, disregarding case.
Returns an [[Right[A]] ] for a given name, or a [[Left[NoSuchMember]] ] if the name does not match any of the values' .entryName values, disregarding case.
Attributes
- Inherited from:
- Enum
Concrete fields
A Java helper representing DoNotRegister action
A Java helper representing DoNotRegister action
Attributes
A Java helper representing RegisterAndTrackServices action
A Java helper representing RegisterAndTrackServices action
Attributes
A Java helper representing RegisterOnly action
A Java helper representing RegisterOnly action