UserLiveStatusEvent¶
-
class
OCP\User\Events\
UserLiveStatusEvent
¶ Source: lib/public/User/Events/UserLiveStatusEvent.php#35 Parent: OCP\EventDispatcher\Event
Constants¶
-
STATUS_ONLINE = online
Source: lib/public/User/Events/UserLiveStatusEvent.php#41 Type: string Since: 20.0.0
-
STATUS_AWAY = away
Source: lib/public/User/Events/UserLiveStatusEvent.php#47 Type: string Since: 20.0.0
-
STATUS_OFFLINE = offline
Source: lib/public/User/Events/UserLiveStatusEvent.php#53 Type: string Since: 20.0.0
Properties¶
Methods¶
-
public
OCP\User\Events\UserLiveStatusEvent::
__construct
($user, $status, $timestamp)¶ Source: Parameters: - $user (
OCP\IUser
) - $status (string)
- $timestamp (int)
Since: 20.0.0
- $user (
-
public
OCP\User\Events\UserLiveStatusEvent::
getUser
()¶ Source: lib/public/User/Events/UserLiveStatusEvent.php#83 Returns: \OCP\IUser
Since: 20.0.0
-
public
OCP\User\Events\UserLiveStatusEvent::
getStatus
()¶ Source: lib/public/User/Events/UserLiveStatusEvent.php#91 Returns: string Since: 20.0.0
-
public
OCP\User\Events\UserLiveStatusEvent::
getTimestamp
()¶ Source: lib/public/User/Events/UserLiveStatusEvent.php#99 Returns: int Since: 20.0.0