public enum PublishState extends Enum<PublishState>
Enum Constant and Description |
---|
Cleared
Publish is terminated cleared.
|
Error
Publish encountered an error.
|
Expiring
Publish is about to expire.
|
None
Initial state, should not be used.
|
Ok
Publish succeeded.
|
Progress
Publish is in progress.
|
Modifier and Type | Field and Description |
---|---|
protected int |
mValue |
Modifier and Type | Method and Description |
---|---|
protected static PublishState |
fromInt(int value) |
static PublishState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PublishState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PublishState None
public static final PublishState Progress
public static final PublishState Ok
public static final PublishState Error
LinphoneEvent.getReason()
gives more information about failure.public static final PublishState Expiring
LinphoneEvent.updatePublish(LinphoneContent)
[sip]->refresh_generic_subscribe property is set to 0.public static final PublishState Cleared
public static PublishState[] values()
for (PublishState c : PublishState.values()) System.out.println(c);
public static PublishState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullprotected static PublishState fromInt(int value) throws LinphoneCoreException
LinphoneCoreException