Package 

Class StreamNotificationUpdateInterceptors

    • Constructor Detail

      • StreamNotificationUpdateInterceptors

        StreamNotificationUpdateInterceptors()
    • Method Detail

      • onUpdateMediaNotificationMetadata

         MediaMetadataCompat.Builder onUpdateMediaNotificationMetadata(MediaMetadataCompat.Builder builder, Call call, String callDisplayName)

        Intercept the media notification metadata builder and modify it before it is posted for updating.

        Parameters:
        builder - The media metadata builder.
        call - The Stream call object.
        callDisplayName - The name of the caller to display in the notification.
      • onUpdateMediaNotificationPlaybackState

         PlaybackStateCompat.Builder onUpdateMediaNotificationPlaybackState(PlaybackStateCompat.Builder builder, Call call, String callDisplayName)

        Intercept the media notification playback state builder and modify it before it is posted for updating.

        Parameters:
        builder - The media playback state builder.
        call - The Stream call object.
        callDisplayName - The name of the caller to display in the notification.
      • onUpdateMediaSessionCompat

         MediaSessionCompat onUpdateMediaSessionCompat(Application application, String channelId)

        Intercept the media session creation and modify it before it is posted.

        Parameters:
        application - The application context.
        channelId - The channel id.