Package im.zego.zegoexpress.constants
Enum ZegoCopyrightedMusicType
- java.lang.Object
-
- java.lang.Enum<ZegoCopyrightedMusicType>
-
- im.zego.zegoexpress.constants.ZegoCopyrightedMusicType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ZegoCopyrightedMusicType>
public enum ZegoCopyrightedMusicType extends java.lang.Enum<ZegoCopyrightedMusicType>
The music resource type. For [querycache] interface.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ZEGO_COPYRIGHTED_MUSIC_ACCOMPANIMENT
Deprecated.Please use the [queryCache] interface that takes a ZegoCopyrightedMusicQueryCacheConfig as a parameter instead.ZEGO_COPYRIGHTED_MUSIC_ACCOMPANIMENT_CLIP
Deprecated.Please use the [queryCache] interface that takes a ZegoCopyrightedMusicQueryCacheConfig as a parameter instead.ZEGO_COPYRIGHTED_MUSIC_ACCOMPANIMENT_SEGMENT
Deprecated.Please use the [queryCache] interface that takes a ZegoCopyrightedMusicQueryCacheConfig as a parameter instead.ZEGO_COPYRIGHTED_MUSIC_SONG
Deprecated.Please use the [queryCache] interface that takes a ZegoCopyrightedMusicQueryCacheConfig as a parameter instead.ZEGO_COPYRIGHTED_MUSIC_SONG_HQ
Deprecated.Please use the [queryCache] interface that takes a ZegoCopyrightedMusicQueryCacheConfig as a parameter instead.ZEGO_COPYRIGHTED_MUSIC_SONG_SQ
Deprecated.Please use the [queryCache] interface that takes a ZegoCopyrightedMusicQueryCacheConfig as a parameter instead.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ZegoCopyrightedMusicType
getZegoCopyrightedMusicType(int value)
int
value()
static ZegoCopyrightedMusicType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ZegoCopyrightedMusicType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ZEGO_COPYRIGHTED_MUSIC_SONG
@Deprecated public static final ZegoCopyrightedMusicType ZEGO_COPYRIGHTED_MUSIC_SONG
Deprecated.Please use the [queryCache] interface that takes a ZegoCopyrightedMusicQueryCacheConfig as a parameter instead.
-
ZEGO_COPYRIGHTED_MUSIC_SONG_HQ
@Deprecated public static final ZegoCopyrightedMusicType ZEGO_COPYRIGHTED_MUSIC_SONG_HQ
Deprecated.Please use the [queryCache] interface that takes a ZegoCopyrightedMusicQueryCacheConfig as a parameter instead.
-
ZEGO_COPYRIGHTED_MUSIC_SONG_SQ
@Deprecated public static final ZegoCopyrightedMusicType ZEGO_COPYRIGHTED_MUSIC_SONG_SQ
Deprecated.Please use the [queryCache] interface that takes a ZegoCopyrightedMusicQueryCacheConfig as a parameter instead.
-
ZEGO_COPYRIGHTED_MUSIC_ACCOMPANIMENT
@Deprecated public static final ZegoCopyrightedMusicType ZEGO_COPYRIGHTED_MUSIC_ACCOMPANIMENT
Deprecated.Please use the [queryCache] interface that takes a ZegoCopyrightedMusicQueryCacheConfig as a parameter instead.
-
ZEGO_COPYRIGHTED_MUSIC_ACCOMPANIMENT_CLIP
@Deprecated public static final ZegoCopyrightedMusicType ZEGO_COPYRIGHTED_MUSIC_ACCOMPANIMENT_CLIP
Deprecated.Please use the [queryCache] interface that takes a ZegoCopyrightedMusicQueryCacheConfig as a parameter instead.
-
ZEGO_COPYRIGHTED_MUSIC_ACCOMPANIMENT_SEGMENT
@Deprecated public static final ZegoCopyrightedMusicType ZEGO_COPYRIGHTED_MUSIC_ACCOMPANIMENT_SEGMENT
Deprecated.Please use the [queryCache] interface that takes a ZegoCopyrightedMusicQueryCacheConfig as a parameter instead.
-
-
Method Detail
-
values
public static ZegoCopyrightedMusicType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ZegoCopyrightedMusicType c : ZegoCopyrightedMusicType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ZegoCopyrightedMusicType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
value
public int value()
-
getZegoCopyrightedMusicType
public static ZegoCopyrightedMusicType getZegoCopyrightedMusicType(int value)
-
-