UserNotificationReaderOptions Class

  • java.lang.Object
    • NativeBase
      • com.microsoft.connecteddevices.userdata.usernotifications.UserNotificationReaderOptions

public class UserNotificationReaderOptions

This class allows the app to provide options on the notification reader, such as only receiving new user notifications and not existing notification updates.

Constructor Summary

Constructor Description
UserNotificationReaderOptions()

Creates and initializes a new instance of UserNotificationReaderOptions with default filters.

UserNotificationReaderOptions(NativeObject nativeObject)

Method Summary

Modifier and Type Method and Description
UserNotificationReadStateFilter getReadStateFilter()

Get the read state filter that’s set for this instance of UserNotificationReaderOptions.

UserNotificationReaderStartPosition getStartPosition()

Get the start position for this instance of UserNotificationReaderOptions.

UserNotificationUserActionStateFilter getUserActionStateFilter()

Get the user action state filter that’s set for this instance of UserNotificationReaderOptions.

void setReadStateFilter(@NonNull UserNotificationReadStateFilter readStateFilter)

Set the read state filter for this user notification reader you desire to create.

void setStartPosition(@NonNull UserNotificationReaderStartPosition startPosition)

Set the start position for this user notification reader you desire to create.

void setStatusFilter(@NonNull UserNotificationStatusFilter statusFilter)

Set the status filter for this user notification reader you desire to create.

void setUserActionStateFilter(@NonNull UserNotificationUserActionStateFilter userActionStateFilter)

Set the action state filter for this user notification reader you desire to create.

Constructor Details

UserNotificationReaderOptions

public UserNotificationReaderOptions()

Creates and initializes a new instance of UserNotificationReaderOptions with default filters.

UserNotificationReaderOptions

protected UserNotificationReaderOptions(NativeObject nativeObject)

Parameters:

nativeObject

Method Details

getReadStateFilter

public UserNotificationReadStateFilter getReadStateFilter()

Get the read state filter that’s set for this instance of UserNotificationReaderOptions.

getStartPosition

public UserNotificationReaderStartPosition getStartPosition()

Get the start position for this instance of UserNotificationReaderOptions.

getUserActionStateFilter

public UserNotificationUserActionStateFilter getUserActionStateFilter()

Get the user action state filter that’s set for this instance of UserNotificationReaderOptions.

setReadStateFilter

public void setReadStateFilter(@NonNull UserNotificationReadStateFilter readStateFilter)

Set the read state filter for this user notification reader you desire to create.

Parameters:

readStateFilter

setStartPosition

public void setStartPosition(@NonNull UserNotificationReaderStartPosition startPosition)

Set the start position for this user notification reader you desire to create.

Parameters:

startPosition

setStatusFilter

public void setStatusFilter(@NonNull UserNotificationStatusFilter statusFilter)

Set the status filter for this user notification reader you desire to create.

Parameters:

statusFilter

setUserActionStateFilter

public void setUserActionStateFilter(@NonNull UserNotificationUserActionStateFilter userActionStateFilter)

Set the action state filter for this user notification reader you desire to create.

Parameters:

userActionStateFilter

Applies to